⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 biyejieye.java~18~

📁 中小学校园的教师
💻 JAVA~18~
字号:
package untitled2;import javax.swing.*;import java.awt.*;import com.borland.jbcl.layout.*;import java.awt.event.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class biYeJieYe extends JFrame {  JTextField jTextField1 = new JTextField();  JTextField jTextField2 = new JTextField();  JTextField jTextField3 = new JTextField();  JRadioButton jRadioButton1 = new JRadioButton();  JRadioButton jRadioButton2 = new JRadioButton();  JButton jButton2 = new JButton();  JButton jButton3 = new JButton();  JLabel jLabel1 = new JLabel();  JLabel jLabel2 = new JLabel();  JList jList1 = new JList();  JLabel jLabel3 = new JLabel();  GridBagLayout gridBagLayout1 = new GridBagLayout();  JButton jButton1 = new JButton();  XYLayout xYLayout1 = new XYLayout();  ButtonGroup jrp=new ButtonGroup();  JTextField jTextField4 = new JTextField();  JLabel jLabel4 = new JLabel();  public biYeJieYe() {    try {      jbInit();      jrp.add(this.jRadioButton1);      jrp.add(this.jRadioButton2);    }    catch(Exception ex) {      ex.printStackTrace();    }  }  void jbInit() throws Exception {    jButton3.setFont(new java.awt.Font("Dialog", 0, 13));    jButton2.setFont(new java.awt.Font("Dialog", 0, 13));    this.setSize(new Dimension(400, 350));    this.setState(Frame.NORMAL);    this.setTitle("欢迎您进入毕业,结业管理界面");    this.getContentPane().setLayout(xYLayout1);    jRadioButton1.setFont(new java.awt.Font("Dialog", 0, 13));    jRadioButton1.setText("毕业");    jRadioButton1.addActionListener(new biYeJieYe_jRadioButton1_actionAdapter(this));    jRadioButton2.setFont(new java.awt.Font("Dialog", 0, 13));    jRadioButton2.setText("结业");    jButton2.setText("清空");    jButton3.setText("确定");    jLabel1.setFont(new java.awt.Font("Dialog", 0, 13));    jLabel1.setText("学号");    jLabel2.setFont(new java.awt.Font("Dialog", 0, 13));    jLabel2.setText("至 学号");    jTextField3.setText("");    jTextField2.setText("");    jTextField1.setText("");    jLabel3.setFont(new java.awt.Font("Dialog", 0, 13));    jLabel3.setOpaque(false);    jLabel3.setRequestFocusEnabled(true);    jLabel3.setText("学号");    jButton1.setFont(new java.awt.Font("Dialog", 0, 13));    jButton1.setText("取消");    jLabel4.setFont(new java.awt.Font("Dialog", 0, 13));    jLabel4.setText("毕业日期");    this.getContentPane().add(jTextField1,     new XYConstraints(210, 67, 96, -1));    this.getContentPane().add(jRadioButton2,  new XYConstraints(321, 64, -1, -1));    this.getContentPane().add(jTextField2,     new XYConstraints(209, 30, 97, -1));    this.getContentPane().add(jRadioButton1,  new XYConstraints(319, 28, -1, -1));    this.getContentPane().add(jList1,  new XYConstraints(0, 106, 402, 121));    this.getContentPane().add(jLabel3, new XYConstraints(166, 33, -1, -1));    this.getContentPane().add(jLabel1, new XYConstraints(11, 70, -1, -1));    this.getContentPane().add(jTextField3, new XYConstraints(45, 70, 103, -1));    this.getContentPane().add(jLabel2, new XYConstraints(163, 71, -1, -1));    this.getContentPane().add(jButton1, new XYConstraints(64, 255, 62, -1));    this.getContentPane().add(jButton2, new XYConstraints(167, 254, -1, -1));    this.getContentPane().add(jButton3,  new XYConstraints(269, 253, -1, -1));    this.getContentPane().add(jTextField4,     new XYConstraints(75, 32, 74, -1));    this.getContentPane().add(jLabel4,      new XYConstraints(12, 33, -1, -1));  }  void jRadioButton1_actionPerformed(ActionEvent e) {  // jRadioButton1.  }}class biYeJieYe_jRadioButton1_actionAdapter implements java.awt.event.ActionListener {  biYeJieYe adaptee;  biYeJieYe_jRadioButton1_actionAdapter(biYeJieYe adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.jRadioButton1_actionPerformed(e);  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -