网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
Which layout manager is used when the frame is resized the buttons’s position in the Frame might be changed?()
A
BorderLayout
B
FlowLayout
C
CardLayout
D
GridLayout
参考答案
参考解析
解析:
A:该布局管理器将容器划分为五个部分,容器大小的改变不会影响其中的组件的位置而是影响他们的大小。
B:该布局管理器根据放入其中的组件的最合适大小调整组件的位置,根据组件放入的顺序安排,一行不能容纳时放入下一行,因此容器的大小改变可能改变组件的位置。
C://该布局管理器显示放入该容器的当前页中的组件,一次显示一个,容器大小的改变不能影响其中组件的位置。
D://该布局管理器将容器划分为固定的网格,组件加入后占据一个单元,各组件的相对位置不会因为容器的大小变化而变化,改变的只是组件的大小。
B:该布局管理器根据放入其中的组件的最合适大小调整组件的位置,根据组件放入的顺序安排,一行不能容纳时放入下一行,因此容器的大小改变可能改变组件的位置。
C://该布局管理器显示放入该容器的当前页中的组件,一次显示一个,容器大小的改变不能影响其中组件的位置。
D://该布局管理器将容器划分为固定的网格,组件加入后占据一个单元,各组件的相对位置不会因为容器的大小变化而变化,改变的只是组件的大小。
更多 “单选题Which layout manager is used when the frame is resized the buttons’s position in the Frame might be changed?()A BorderLayoutB FlowLayoutC CardLayoutD GridLayout” 相关考题
考题
当JFrame的大小被改变时JFrame中的按钮的位置可能被改变,使用的哪一个布局管理器()
A.BorderLayoutB.FlowLayoutC.CardLayoutD.GridLayout
考题
Whichlayoutmanagerisusedwhentheframeisresizedthebuttons’spositionintheFramemightbechanged?()
A.BorderLayoutB.FlowLayoutC.CardLayoutD.GridLayout
考题
当Frame的大小被改变时,Frame中的按钮的位置可能被改变,则使用下列哪一个布局管理器( )。A.BorderLayoutB.FlowLayoutC.CardLayoutD.GridLayout
考题
当Frame的大小被改变时,Frame中的按钮的位置可能被改变,则使用下列( )布局管理器。A.BorderLayoutB.FlowLayoutC.CardLayoutD.GridLayout
考题
Which command can be used to verify the DLCI destination address in a Frame Relay static configuration?()
A.show frame-relay end-to-endB.show frame-relay mapC.show frame-relay lmiD.show frame-relay pvc
考题
Which statement about Frame Relay is not true?()A、Static mapping is used when the remote router does not support Inverse ARP.B、Frame Relay Inverse ARP requires LMI capability to construct an address to the DLCI mapping tableon the router.C、Frame Relay Inverse ARP is disabled by default in Cisco IOS Software for all protocols that areenabled on the physical interface.D、Inverse ARP does not work when LMI is disabled.E、Frame Relay provides forward and backward congestion notification messages
考题
A new frame-relay network is being implemented and inverse ARP does not appear to be operating correctly. Which alternative command can be used to provide connectivity?()A、frame-relay arpB、frame-relay mapC、frame-relay interface-dlciD、frame-relay lmi-typeE、frame-relay pvc
考题
Which statement is true?() A、 A flow layout can be used to position a component that should resize horizontally when the container is resized.B、 A grid layout can be used to position a component tat should maintain a constant size even when the container is resized.C、 A border layout can be used to position component that should maintain a constant size even when the container is resized.D、 The grid bag layout can be used to give a grid-like layout which differs from the normal grid in that individual rows and columns can have unique sizes.E、 If two components are placed in the same column of a grid bag layout, and one component resizes horizontally, then the other component must resize horizontally.
考题
Which layout manager is used when the frame is resized the buttons’s position in the Frame might be changed?() A、 BorderLayoutB、 FlowLayoutC、 CardLayoutD、 GridLayout
考题
关于布局管理器,以下说法正确的是()。A、Frame默认布局管理器是BorderLayoutB、Panel默认布局管理器是FlowlayoutC、Applet默认布局管理器是FlowlayoutD、CardLayout会将容器分割成等宽等高的矩形区域E、默认情况下,在GridLayout管理的容器中,组件将占满整个所在区域
考题
Which command can be used to verify the DLCI destination address in a Frame Relay static configuration?()A、show frame-relay end-to-endB、show frame-relay mapC、show frame-relay lmiD、show frame-relay pvc
考题
Which Ethernet field is used to differentiate between the FCoE frame and the FIP frame?()A、 Ethernet FCSB、 Source addressC、 Destination addressD、 EtherTypeE、 Protocol type
考题
when a user clicks a link in the left frame of the Review application, the linked data displays in the frame on the right. What did Kristin to do allow this to happen?()A、entered the name of the target frame in hotspot propertiesB、entered the name of the target in frameset propertiesC、entered the position of the target frame in frame propertiesD、entered the position of target frame in hotspot properties. a name other than location
考题
import java.awt.*; public class X extends Frame { public static void main (String args) { X x = new X(); x.pack(); x.setVisible(true); } public X() { setLayout (new BordrLayout()); Panel p = new Panel (); add(p, BorderLayout.NORTH); Button b = new Button (“North”); p.add(b): Button b = new Button (“South”); add(b1, BorderLayout.SOUTH): } } Which two statements are true?()A、 The buttons labeled “North” and “South” will have the same width.B、 The buttons labeled “North” and “South” will have the same height.C、 The height of the button labeled “North” can very if the Frame is resized.D、 The height of the button labeled “South” can very if the Frame is resized.E、 The width of the button labeled “North” is constant even if the Frame is resized.F、 The width of the button labeled “South” is constant even if the Frame is resized.
考题
A Button is positioned in a Frame. Only height of the Button is affected by the Frame while the width is not. Which layout manager should be used?() A、 FlowLayoutB、 CardLayoutC、 North and South of BorderLayoutD、 East and West of BorderLayoutE、 GridLayout
考题
import java.awt*; public class X extends Frame ( public static void main(string args) ( X x = new X (); X.pack(); x.setVisible(true); ) public X () ( setlayout (new GridLayout (2,2)); Panel p1 = new panel(); Add(p1); Button b1= new Button (“One”); P1.add(b1); Panel p2 = new panel(); Add(p2); Button b2= new Button (“Two”); P2.add(b2); Button b3= new Button (“Three”); add(b3); Button b4= new Button (“Four”); add(b4); ) ) Which two statements are true? ()A、 All the buttons change height if the frame height is resized.B、 All the buttons change width if the Frame width is resized.C、 The size of the button labeled “One” is constant even if the Frame is resized.D、 Both width and height of the button labeled “Three” might change if the Frame is resized.
考题
You are assigned the task of building a panel containing a TextArea at the top, a label directly below it,and a button directly below the label. If the three components are added directly to the panel. Which layout manager can the panel use to ensure that the TextArea absorbs all of the free vertical space when the panel is resized?()A、 GridLayout.B、 CardLayout.C、 FlowLayout.D、 BorderLayout.E、 GridBagLayout.
考题
单选题when a user clicks a link in the left frame of the Review application, the linked data displays in the frame on the right. What did Kristin to do allow this to happen?()A
entered the name of the target frame in hotspot propertiesB
entered the name of the target in frameset propertiesC
entered the position of the target frame in frame propertiesD
entered the position of target frame in hotspot properties. a name other than location
考题
单选题Which statement is true?()A
A flow layout can be used to position a component that should resize horizontally when the container is resized.B
A grid layout can be used to position a component tat should maintain a constant size even when the container is resized.C
A border layout can be used to position component that should maintain a constant size even when the container is resized.D
The grid bag layout can be used to give a grid-like layout which differs from the normal grid in that individual rows and columns can have unique sizes.E
If two components are placed in the same column of a grid bag layout, and one component resizes horizontally, then the other component must resize horizontally.
考题
单选题Which Ethernet field is used to differentiate between the FCoE frame and the FIP frame?()A
Ethernet FCSB
Source addressC
Destination addressD
EtherTypeE
Protocol type
考题
单选题A Button is positioned in a Frame. Only height of the Button is affected by the Frame while the width is not. Which layout manager should be used?()A
FlowLayoutB
CardLayoutC
North and South of BorderLayoutD
East and West of BorderLayoutE
GridLayout
考题
单选题If a switch is working in the fail-open mode, what will happen when the switch’s CAM table fills to capacityand a new frame arrives?()A
A copy of the frame is forwarded out all switch ports other than the port the frame was received on.B
The frame is transmitted on the native VLAN.C
The switch sends a NACK segment to the frame’s source MAC address.D
The frame is dropped.
考题
单选题You are assigned the task of building a panel containing a TextArea at the top, a label directly below it,and a button directly below the label. If the three components are added directly to the panel. Which layout manager can the panel use to ensure that the TextArea absorbs all of the free vertical space when the panel is resized?()A
GridLayout.B
CardLayout.C
FlowLayout.D
BorderLayout.E
GridBagLayout.
考题
单选题Which command can be used to verify the DLCI destination address in a Frame Relay static configuration?()A
show frame-relay end-to-endB
show frame-relay mapC
show frame-relay lmiD
show frame-relay pvc
热门标签
最新试卷