📄 exammanagepanel.java~14~
字号:
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(555, 540));
jRadioButton1.setText("D");
jRadioButton1.setBounds(new Rectangle(483, 405, 37, 25));
jLabel1.setText("C");
jLabel1.setBounds(new Rectangle(97, 312, 23, 21));
jTextField1.setText("");
jTextField1.setBounds(new Rectangle(132, 359, 375, 26));
jLabel2.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel2.setText("正确答案");
jLabel2.setBounds(new Rectangle(267, 409, 56, 21));
jLabel3.setText("试题编号");
jLabel3.setBounds(new Rectangle(58, 25, 68, 23));
jLabel4.setText("试题类别");
jLabel4.setBounds(new Rectangle(58, 71, 56, 29));
jLabel5.setText("A");
jLabel5.setBounds(new Rectangle(97, 224, 17, 27));
jTextField2.setText("");
jTextField2.setBounds(new Rectangle(132, 225, 375, 26));
jRadioButton2.setText("B");
jRadioButton2.setBounds(new Rectangle(399, 405, 38, 25));
jComboBox1.setBounds(new Rectangle(123, 407, 124, 21));
jTextArea1.setText("");
jTextArea1.setBounds(new Rectangle(122, 125, 382, 82));
jRadioButton3.setText("C");
jRadioButton3.setBounds(new Rectangle(441, 405, 36, 25));
jComboBox2.setBounds(new Rectangle(359, 64, 121, 22));
jTextField3.setText("");
jTextField3.setBounds(new Rectangle(359, 25, 121, 22));
jLabel6.setText("选项");
jLabel6.setBounds(new Rectangle(58, 225, 33, 25));
jComboBox3.setBounds(new Rectangle(122, 69, 121, 22));
jTextField4.setEditable(false);
jTextField4.setText("");
jTextField4.setBounds(new Rectangle(122, 24, 121, 22));
jTextField5.setText("");
jTextField5.setBounds(new Rectangle(132, 314, 375, 26));
jLabel7.setText("D");
jLabel7.setBounds(new Rectangle(97, 363, 14, 19));
jTextField6.setText("");
jTextField6.setBounds(new Rectangle(132, 270, 375, 26));
jLabel8.setText("试题难度");
jLabel8.setBounds(new Rectangle(58, 404, 62, 27));
jLabel9.setText("题干");
jLabel9.setBounds(new Rectangle(58, 142, 36, 30));
jButton1.setBounds(new Rectangle(25, 171, 65, 26));
jButton1.setText("重置");
jButton2.setBounds(new Rectangle(25, 46, 65, 26));
jButton2.setText("添加");
jButton3.setBounds(new Rectangle(25, 110, 65, 26));
jButton3.setText("修改");
jButton4.setBounds(new Rectangle(25, 262, 65, 26));
jButton4.setText("返回");
jLabel10.setText("试题名称");
jLabel10.setBounds(new Rectangle(296, 21, 70, 26));
jLabel11.setText("子类");
jLabel11.setBounds(new Rectangle(296, 64, 78, 30));
jRadioButton4.setText("A");
jRadioButton4.setBounds(new Rectangle(348, 405, 36, 25));
jLabel12.setText("B");
jLabel12.setBounds(new Rectangle(97, 270, 21, 20));
jPanel2.setBorder(BorderFactory.createEtchedBorder());
jPanel2.setBounds(new Rectangle(527, 81, 105, 344));
jPanel2.setLayout(null);
this.add(jLabel3);
this.add(jTextField4);
this.add(jLabel10);
this.add(jTextField3);
this.add(jLabel4);
this.add(jComboBox3);
this.add(jLabel11);
this.add(jComboBox2);
this.add(jLabel9);
this.add(jTextArea1);
this.add(jLabel6);
this.add(jLabel12);
this.add(jLabel5);
this.add(jLabel1);
this.add(jTextField2);
this.add(jTextField6);
this.add(jTextField5);
this.add(jTextField1);
this.add(jLabel7);
this.add(jLabel8);
this.add(jComboBox1);
this.add(jLabel2);
this.add(jRadioButton4);
this.add(jRadioButton2);
this.add(jRadioButton3);
this.add(jRadioButton1);
this.add(jPanel2);
jPanel2.add(jButton2);
jPanel2.add(jButton3);
jPanel2.add(jButton1);
jPanel2.add(jButton4);
}
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();
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();
JLabel jLabel12 = new JLabel();
JPanel jPanel2 = new JPanel();
ButtonGroup buttonGroup1 = new ButtonGroup();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -