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

📄 jiaoshiweihu.java

📁 中小学校园的教师
💻 JAVA
字号:
package untitled2;import javax.swing.*;import java.awt.*;import com.borland.jbcl.layout.*;import java.awt.event.*;import com.borland.dbswing.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class jiaoShiWeiHu extends JFrame {  XYLayout xYLayout1 = new XYLayout();  JTextField jTextField1 = new JTextField();  JLabel jLabel1 = new JLabel();  JButton jButton1 = new JButton();  JButton jButton2 = new JButton();  JdbTable jdbTable1 = new JdbTable();  JButton jButton3 = new JButton();  JButton jButton4 = new JButton();  public jiaoShiWeiHu() {    try {      jbInit();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  void jbInit() throws Exception {    this.setResizable(false);    this.setSize(new Dimension(800, 600));    this.setTitle("欢迎您进入教室维护界面");    this.getContentPane().setLayout(xYLayout1);    jLabel1.setFont(new java.awt.Font("Dialog", 0, 13));    jLabel1.setText("教室编号");    jTextField1.setText("");    jButton1.setFont(new java.awt.Font("Dialog", 0, 13));    jButton1.setText("查询");    jButton2.setText("取消");    jButton2.addActionListener(new jiaoShiWeiHu_jButton2_actionAdapter(this));    jButton2.setFont(new java.awt.Font("Dialog", 0, 13));    jButton3.setText("修改");    jButton3.setFont(new java.awt.Font("Dialog", 0, 13));    jButton4.setText("删除");    jButton4.setFont(new java.awt.Font("Dialog", 0, 13));    this.getContentPane().add(jTextField1, new XYConstraints(145, 51, 182, -1));    this.getContentPane().add(jLabel1,  new XYConstraints(57, 52, -1, -1));    this.getContentPane().add(jButton2, new XYConstraints(593, 49, -1, -1));    this.getContentPane().add(jButton1, new XYConstraints(448, 49, -1, -1));    this.getContentPane().add(jdbTable1, new XYConstraints(35, 157, 737, 312));    this.getContentPane().add(jButton4, new XYConstraints(647, 530, -1, -1));    this.getContentPane().add(jButton3, new XYConstraints(531, 531, -1, -1));  }  void jButton2_actionPerformed(ActionEvent e) {this.dispose();  }}class jiaoShiWeiHu_jButton2_actionAdapter implements java.awt.event.ActionListener {  jiaoShiWeiHu adaptee;  jiaoShiWeiHu_jButton2_actionAdapter(jiaoShiWeiHu adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.jButton2_actionPerformed(e);  }}

⌨️ 快捷键说明

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