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

📄 teacherinfopanel.java~1~

📁 使用JBuilder基于Oracle数据库的课程作业
💻 JAVA~1~
字号:
package superframe.factionpanels.infopanel;

import com.borland.jbcl.layout.XYConstraints;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JComboBox;

public class TeacherInfoPanel extends InfoPanel {
    public TeacherInfoPanel(boolean e){
        try {
            initialize(e);//初始化父类
        } catch (Exception ex) {
        }
    }

    protected void initialize(boolean e){
        try {
            super.initialize(e);

        } catch (Exception ex) {
        }
        jLabel1.setText("姓名");
        jTextField1.setText("jTextField1");
        jLabel2.setText("职工号");
        jTextField2.setText("jTextField2");
        jLabel3.setText("性别");
        jLabel4.setText("联系电话");
        jTextField3.setText("jTextField3");
        jLabel5.setText("职称");
        this.add(jLabel1, new XYConstraints(56, 45, 82, 38));
        this.add(jTextField1, new XYConstraints(128, 53, 95, 29));
        this.add(jTextField2, new XYConstraints(128, 114, 96, 30));
        this.add(jLabel2, new XYConstraints(56, 111, 80, 31));
        this.add(jLabel3, new XYConstraints(56, 177, 60, 31));
        this.add(jComboBox1, new XYConstraints(128, 175, 96, 31));
        this.add(jLabel4, new XYConstraints(56, 290, 67, 33));
        this.add(jTextField3, new XYConstraints(128, 289, 109, 32));
        this.add(jLabel5, new XYConstraints(56, 232, 65, 34));
        this.add(jComboBox2, new XYConstraints(128, 231, 109, 35));
    }

    public void setSwingEnable(boolean e) {
    }

    public boolean delete() {
        return false;
    }

    public boolean update() {
        return false;
    }

    public boolean insert() {
        return false;
    }

    public void setAllInfo(String keyValue) {
    }

    public void setAllNew() {
    }

    JLabel jLabel1 = new JLabel();
    JTextField jTextField1 = new JTextField();
    JLabel jLabel2 = new JLabel();
    JTextField jTextField2 = new JTextField();
    JLabel jLabel3 = new JLabel();
    JComboBox jComboBox1 = new JComboBox();
    JLabel jLabel4 = new JLabel();
    JTextField jTextField3 = new JTextField();
    JLabel jLabel5 = new JLabel();
    JComboBox jComboBox2 = new JComboBox();

}

⌨️ 快捷键说明

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