方法()设置按钮jbt上的文字放在图标的右边. A: jbt.setVerticalTextPosition(JButton.LEFT) B: jbt.setHorizontalTextPosition(JButton.LEFT) C: jbt.setHorizontalTextPosition(JButton.RIGHT) D: jbt.setHorizontalAlignment(JButton.RIGHT) E: jbt.setHorizontalAlignment(JButton.LEFT)
方法()设置按钮jbt上的文字放在图标的右边. A: jbt.setVerticalTextPosition(JButton.LEFT) B: jbt.setHorizontalTextPosition(JButton.LEFT) C: jbt.setHorizontalTextPosition(JButton.RIGHT) D: jbt.setHorizontalAlignment(JButton.RIGHT) E: jbt.setHorizontalAlignment(JButton.LEFT)
语句“JButton fanClose=new JButton("关闭");”创建的按钮上显示文字关闭。
语句“JButton fanClose=new JButton("关闭");”创建的按钮上显示文字关闭。
JButton是Button的子类。
JButton是Button的子类。
中国大学MOOC: JButton button1=new JButton(Text);的作用是建立一个按钮,按钮上显示的文字是Text.
中国大学MOOC: JButton button1=new JButton(Text);的作用是建立一个按钮,按钮上显示的文字是Text.
与AWT相比,Swing的按钮JButton
与AWT相比,Swing的按钮JButton
In "Left Behind", what is the order the author organized her passage? A: Things left behind→memories left behind→love left behind B: Memories left behind→things left behind→love left behind C: Love left behind→memories left behind→things left behind D: Love left behind→things left behind→memories left behind
In "Left Behind", what is the order the author organized her passage? A: Things left behind→memories left behind→love left behind B: Memories left behind→things left behind→love left behind C: Love left behind→memories left behind→things left behind D: Love left behind→things left behind→memories left behind
My house is __________(on the left / in left side). A: on the left B: in left side
My house is __________(on the left / in left side). A: on the left B: in left side
The museum is __________. A: in your left B: in the left C: on your left D: at the left
The museum is __________. A: in your left B: in the left C: on your left D: at the left
创建一个按钮,正确语句是()。 A: JFrame f=new JFrame("成绩管理"); B: JLabel l1=new JLabel("姓名"); C: JTextField t1=new JTextField(); D: JButton b1=new JButton("添加");
创建一个按钮,正确语句是()。 A: JFrame f=new JFrame("成绩管理"); B: JLabel l1=new JLabel("姓名"); C: JTextField t1=new JTextField(); D: JButton b1=new JButton("添加");
下列实现按钮对象的代码是()。 A: JRadioButton rbt1 = new JRadioButton(“打开风扇”); B: JButton bt1 = new JButton(“打开风扇”); C: JCheckbox cb1 = new JCheckbox(“打开风扇”); D: 都不是
下列实现按钮对象的代码是()。 A: JRadioButton rbt1 = new JRadioButton(“打开风扇”); B: JButton bt1 = new JButton(“打开风扇”); C: JCheckbox cb1 = new JCheckbox(“打开风扇”); D: 都不是