SWEEP INT on radar panel is the abbreviation of ________ .
A.sweep introduction
B.sweep interest
C.sweep intention
D.sweep intensity
第1题:
A.INTR和NMI
B.INT和NMI
C.INTR和INTA
D.INTE和INET
第2题:
本题的功能是在文本域面板中添加一个带有行数的面板。窗口中有一个文本域,在文本域的左侧有一个带有数字的面板,该面板上的数字指示着文本域中的行数。
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
public class java3 extends JFrame
{
public static JTextPane textPane;
public static JScrollPane scrollPane;
JPanel panel;
public java3()
{
super("java3()");
panel=new JPanel();
panel.setLayout(new BorderLayout());
panel.setBorder(BorderFactory.createEmptyBor-
der(20,20,20,20));
textPane=new JTextPane();
textPane.setFont(new Font("monospaeed",
Font.PLAIN,12));
scrollPane=new JScrollPane(textPane);
panel.add(scrollPane);
scrollPane.setPreferredsize(new Dimension(300,
250));
setContentPane(panel);
setCloseOperation(JFrame.EXIT_ON_CLOSE);
LineNumber lineNumber=new LineNumber();
scrollPane.setRowHeaderView(lineNumber);
}
public static void main(String[]args)
{
java3 ttp=new java3();
ttp.pack();
ttp.setVisible(true);
}
}
class LineNumber extends JTextPane
{
private final static Color DEFAULT_BACK-
GROUND=Color.gray;
private final static Color DEFAULT_FORE-
GROUND=Color.black;
private final static Font DEFAUl。T—FONT=new
Font("monospaced",Font.PLAIN,12);
private final static int HEIGHT=Integer.MAX_
VALUE-1000000;
private final static int MARGIN=5;
private FontMetrics fontMetrics;
private int lineHeight;
private int currentRowWidth;
private JComponent component;
private int componentFontHeight;
private int componentFontAscent;
public LineNumber(JComponent component)
{
if(component= =null)
{
setBackground(DEFAULT_BACKGROUND);
setForegroun"DEFAULT_FOREGROUND);
setFont(DEFAULT FONT);
this.component=this;
}
else
{
setBaekground(DEFAULT_BACKGROUND);
setForeground(component.getForeground());
setFont(component.getFont());
this.component=component;
}
componentFontHeight=component.getFontMet-
rics(component.getFont()).getHeight();
componentFontAscent=component.getFontMet-
ries(component.getFont()).getAscent();
setPreferredWidth(9999);
}
public void setPreferredWidth(int row)
{
int width=fontMetrics.stringWidth(String.val-
ueOf(row));
if(currentRowWidth<;width)
{
currentRowWidth=width;
setPreferredSize(new Dfimension(2 * MARGIN
+width,HEIGHT));
}
}
public void setFont(Font font)
{
super.setFont(font);
fontMetrics=getFontMetrics(getFont());
}
public int getLineHeight()
{
if(hneHeight= =0)
return componentFontHeight;
else
return lineHeight;
}
public void setLineHeight(int lineHeight)
{
if(hneHeight>;0)
this.lineHeight=lineHeight;
}
public int getStartOffset()
{
return component.getlnsets().top+component-
FontAscent;
}
public void paintComponent(Graphics g)
{
int lineHeight=getLineHeight();
int startOffset=getStartOffset();
Rectangle drawHere=g.getClipBounds();
g.setColor(getBackground());
g.fillRect(drawHere.x,drawHere.Y,drawHere.
width,drawHere.height);
g.setColor(getForeground());
int startLineNumber=(drawHere.y/line-
Height)+1;
int endLineNUmber = startLineNumber+
(drawHere.height/lineHeight);
int start=(drawHere.Y/hneHeight)*line-
Height+startOffset;
for(int i=startLineNumber;i<;=endLineN-
umber;i++)
{
String lineNumber=String.valueOf(i);
int width=fontMetrics.stringWidth(lineNumber
);
g.drawstring(lineNumber,MARGIN+current-
RowWidth-width,start);
start+=lineHeight:
}
setPreferredWidth(endLineNumber);
}
}
第3题:
按微机微处理器芯片分类,微型机可分为( )。
A.Inte1
B.IBM
C.非IBM
D.非Inte1
第4题:
My radar is not working.I require shorebased radar assistance.Is shorebased radar assistance ________ ?
A.used
B.available
C.in use
D.can be used
第5题:
______ is on the panel of DF.
A.RINGS INT
B.SWEEP INT
C.REPEATER
D.GONIOMETER
第6题:
In radar plotting C.P.A is the abbreviation of ______.
A.crossing point to approach
B.fog or steady rain
C.closest point to approach
D.close point to approach
第7题:
8255A中INTE
第8题:
表面扫洗(surface sweep washing)
第9题:
The Master of the vessel must be on the bridge when the radar is in use
The radar equipment is only required to be used in restricted visibility
The use of a radar excuses a vessel from the need of a look-out
This equipment must be used to obtain early warning of risk of collision
第10题:
Raising the antenna height increases the radar range
The ability of radar to detect objects is unaffected by weather conditions
Radar bearings are less accurate than radar ranges
Radar should be checked regularly during clear weather to ensure that it is operating properly
第11题:
Only a radar expert can determine if the radar is operating
All radars have indicator lights and alarms to signal improper operation
A radar range compared to the actual range of a known object can be used to check the operation of the radar
The radar resolution detector must be energized to check the radar
第12题:
transmitter
antenna system
indicator
modulator
第13题:
以下关系表达式中,其值为False的是
A.XYZ<"XYz"
B.VisualBasic="visualbasic"
C.the<>"there"
D.Integer>"Int"
第14题:
将一个容器panel1放到容器frame1中的方法是
A.frame.insert(panel1)”
B.frame.add(panel1)
C.frame.add Panel(panel1)
D.framel.insertJPanel(panel1)
第15题:
In radar plotting CPA is the abbreviation of ________ .
A.closest point to approach
B.close point to approach
C.crossing point to approach
D.coming point to approach
第16题:
The description Racon beside an illustration on a chart would mean a ______.
A.radar conspicuous beacon
B.circular radiobeacon
C.radar transponder beacon
D.radar calibration beacon
第17题:
Generally, the first action in extinguishing an LFG fire caused by escaping gas is to ______.
A.sweep flames away with water spray
B.shut off the leak
C.use a chemical foam fire extinguisher
D.call the local fire department
第18题:
It is required that______should be used during the poor visibility if the radar’s screen shows heavy sea returns.
A.Gain Control
B.Brilliant Control
C.Anti-clutter Sea Control
D.Sweep Intercept
第19题:
8086用于中断请求输入的引脚信号是()。
第20题:
closest point to approach
close point to approach
crossing point to approch
coming point to approach
第21题:
used
available
in use
can be used
第22题:
sweep introduction
sweep interest
sweep intention
sweep intensity
第23题:
KEYLOCK
REPEATER
STATIC INVERTER
ANTI-CLUTTER-SEA