下面哪些是FlowLayout类中表示对齐方式的常量?()A、FlowLayout.LEFTB、FlowLayout.CENTERC、FlowLayout.VERTICALD、FlowLayout.RIGHT
下面哪些是FlowLayout类中表示对齐方式的常量?()
- A、FlowLayout.LEFT
- B、FlowLayout.CENTER
- C、FlowLayout.VERTICAL
- D、FlowLayout.RIGHT
相关考题:
以下各项中不属于FlowLayout构造方法的是( )。A.FlowLayout(FlowLayout.RIGHT,20,40)B.FlowLayout(FlowLayout.LEFT)C.FlowLayout()D.FlowLayout(20,40)
下列Applet实现在窗口中按右对齐方式摆放三个单选按钮。选择正确的语句填入下面横线处。 import java.applet.Applet; import java.awt.*; public class ex21 extends Applet { CheckboxGroup chkG; Checkbox chk1, chk2, chk3; public void init() { ______ chkG = new CheckboxGroup(); chk1 = new Checkbox("选项1", chkG, false); add(chk1); chk2 = new Checkbox("选项2", chkG, false); add(chk2); chk3 = new Checkbox("选项3", chkG, false); add(chk3); } }A.setLayout(new BorderLayout());B.setLayout(new FlowLayout());C.setLayout(FlowLayout(FlowLayout. RIGHT));D.setLayout(new FlowLayout(FlowLayout.RIGHT));
多选题下面哪些是FlowLayout类中表示对齐方式的常量?()AFlowLayout.LEFTBFlowLayout.CENTERCFlowLayout.VERTICALDFlowLayout.RIGHT
多选题“单元格格式”对话框中的对齐标签中,下面哪些既属于水平对齐方式又属于垂直对齐方式()A两端对齐B分散对齐C跨列居中D居中