📄 exammanagepanel.java~6~
字号:
package edu.sccp.examManager.client;
import java.awt.*;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class ExamManagePanel extends JPanel {
public ExamManagePanel() {
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
this.setLayout(null);
this.setBorder(null);
this.setPreferredSize(new Dimension(533, 388));
jRadioButton1.setText("D");
jRadioButton1.setBounds(new Rectangle(483, 417, 37, 25));
jLabel1.setText("jLabel8");
jLabel1.setBounds(new Rectangle(46, 309, 69, 21));
jTextField1.setText("jTextField6");
jTextField1.setBounds(new Rectangle(132, 365, 377, 24));
jLabel2.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel2.setText("正确答案");
jLabel2.setBounds(new Rectangle(270, 416, 56, 21));
jLabel3.setText("jLabel1");
jLabel3.setBounds(new Rectangle(61, 26, 55, 23));
jLabel4.setText("jLabel3");
jLabel4.setBounds(new Rectangle(52, 94, 56, 29));
jLabel5.setText("jLabel7");
jLabel5.setBounds(new Rectangle(46, 264, 43, 27));
jTextField2.setText("jTextField3");
jTextField2.setBounds(new Rectangle(146, 224, 375, 26));
jRadioButton2.setText("B");
jRadioButton2.setBounds(new Rectangle(400, 414, 38, 25));
jComboBox1.setBounds(new Rectangle(110, 420, 124, 21));
jTextArea1.setText("jTextArea1");
jTextArea1.setBounds(new Rectangle(146, 124, 382, 82));
jRadioButton3.setText("C");
jRadioButton3.setBounds(new Rectangle(443, 416, 36, 25));
jComboBox2.setBounds(new Rectangle(378, 76, 118, 23));
jTextField3.setText("jTextField2");
jTextField3.setBounds(new Rectangle(374, 27, 133, 24));
jLabel6.setText("jLabel6");
jLabel6.setBounds(new Rectangle(52, 217, 52, 25));
jComboBox3.setBounds(new Rectangle(130, 83, 119, 23));
jComboBox3.addActionListener(new
ExamManagePanel_jComboBox3_actionAdapter(this));
jTextField4.setText("jTextField1");
jTextField4.setBounds(new Rectangle(129, 26, 121, 22));
jTextField5.setText("jTextField5");
jTextField5.setBounds(new Rectangle(141, 314, 372, 22));
jLabel7.setText("jLabel9");
jLabel7.setBounds(new Rectangle(41, 364, 49, 19));
jTextField6.setText("jTextField4");
jTextField6.setBounds(new Rectangle(140, 273, 379, 24));
jLabel8.setText("jLabel10");
jLabel8.setBounds(new Rectangle(34, 419, 53, 27));
jLabel9.setText("jLabel5");
jLabel9.setBounds(new Rectangle(50, 157, 67, 30));
jPanel1.setBorder(BorderFactory.createEtchedBorder());
jPanel1.setBounds(new Rectangle(41, 458, 479, 55));
jPanel1.setLayout(null);
jButton1.setBounds(new Rectangle(40, 15, 92, 26));
jButton1.setText("jButton1");
jButton2.setBounds(new Rectangle(159, 13, 75, 28));
jButton2.setText("jButton2");
jButton3.setBounds(new Rectangle(253, 10, 88, 28));
jButton3.setText("jButton3");
jButton4.setBounds(new Rectangle(371, 13, 86, 27));
jButton4.setText("jButton4");
jLabel10.setText("jLabel10");
jLabel10.setBounds(new Rectangle(297, 19, 70, 26));
jLabel11.setText("jLabel11");
jLabel11.setBounds(new Rectangle(298, 69, 78, 30));
jRadioButton4.setText("A");
jRadioButton4.setBounds(new Rectangle(356, 414, 36, 25));
this.add(jLabel3);
this.add(jTextField2);
this.add(jTextArea1);
this.add(jLabel6);
this.add(jComboBox3);
this.add(jTextField4);
this.add(jComboBox1);
this.add(jTextField1);
this.add(jLabel7);
this.add(jLabel1);
this.add(jTextField5);
this.add(jTextField6);
this.add(jLabel5);
this.add(jLabel9);
this.add(jLabel4);
this.add(jLabel8);
this.add(jPanel1);
jPanel1.add(jButton1);
jPanel1.add(jButton2);
jPanel1.add(jButton3);
jPanel1.add(jButton4);
this.add(jLabel10);
this.add(jLabel11);
this.add(jTextField3);
this.add(jComboBox2);
this.add(jRadioButton1);
this.add(jRadioButton3);
this.add(jRadioButton2);
this.add(jRadioButton4);
this.add(jLabel2);
}
JRadioButton jRadioButton1 = new JRadioButton();
JLabel jLabel1 = new JLabel();
JTextField jTextField1 = new JTextField();
JLabel jLabel2 = new JLabel();
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JLabel jLabel5 = new JLabel();
JTextField jTextField2 = new JTextField();
JRadioButton jRadioButton2 = new JRadioButton();
JComboBox jComboBox1 = new JComboBox();
JTextArea jTextArea1 = new JTextArea();
JRadioButton jRadioButton3 = new JRadioButton();
JComboBox jComboBox2 = new JComboBox();
JTextField jTextField3 = new JTextField();
JLabel jLabel6 = new JLabel();
JComboBox jComboBox3 = new JComboBox();
JTextField jTextField4 = new JTextField();
JTextField jTextField5 = new JTextField();
JLabel jLabel7 = new JLabel();
JTextField jTextField6 = new JTextField();
JLabel jLabel8 = new JLabel();
JLabel jLabel9 = new JLabel();
JPanel jPanel1 = new JPanel();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JButton jButton3 = new JButton();
JButton jButton4 = new JButton();
JLabel jLabel10 = new JLabel();
JLabel jLabel11 = new JLabel();
JRadioButton jRadioButton4 = new JRadioButton();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -