?? teacherinfopanel.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 + -