方法()设置按钮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
Before administering a medication, the nurse must verify the rights of medication administration, which include: A: right patient, right bed, right drug, right route, right dose, and right time. B: right drug, right dose, right route, right time, right physician, and right documentation. C: right patient, right drug, right route, right time, right documentation, and right equipment. D: right patient, right drug, right dose, right concentration, right route, right time, and expiration date.
Before administering a medication, the nurse must verify the rights of medication administration, which include: A: right patient, right bed, right drug, right route, right dose, and right time. B: right drug, right dose, right route, right time, right physician, and right documentation. C: right patient, right drug, right route, right time, right documentation, and right equipment. D: right patient, right drug, right dose, right concentration, right route, right time, and expiration date.
创建一个按钮,正确语句是()。 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: 都不是
标签(JLabel)和按钮(JButton)是组件类(Component)的子类
标签(JLabel)和按钮(JButton)是组件类(Component)的子类
鼠标右击JButton对象时,产生该对象的ActionEvent事件
鼠标右击JButton对象时,产生该对象的ActionEvent事件