一个学生的档案管理系统,本站资料仅为大家学习之用
源代码在线查看: addstuinfo.java~18~
package studentms; import com.borland.jbcl.layout.*; import java.awt.event.*; public class addStuInfo extends stuInfo{ public addStuInfo() { jBAdd.setVisible(false); jBModify.setVisible(false); jBDelete.setVisible(false); jBSee.setVisible(false); jBSearch.setVisible(false); jBSum.setVisible(false); jBGrade.setVisible(false); this.getContentPane().add(jPanel1, new XYConstraints(3, -20, 363, 251)); jPanel1.add(jBSave, new XYConstraints(163, 218, 53, 23)); jPanel1.add(jBCancel, new XYConstraints(224, 218, 53, 23)); jPanel1.add(jBExit, new XYConstraints(284, 218, 53, 23)); xYLayout1.setWidth(384); xYLayout1.setHeight(240); this.setTitle("添加信息"); } void jBCancel_actionPerformed(ActionEvent e) { this.setNull() ; } }