addstudentinfoframe.java
来自「学生信息管理系统」· Java 代码 · 共 40 行
JAVA
40 行
package com.sccp.StudentMS.baseFrame;
import com.swtdesigner.SwingResourceManager;
public class AddStudentInfoFrame extends StudentInfoFrame
{
public static void main(String args[]) {
try {
AddStudentInfoFrame frame = new AddStudentInfoFrame();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
public AddStudentInfoFrame()
{
modify.setVisible(false);
delete.setVisible(false);
see.setVisible(false);
query.setVisible(false);
sum.setVisible(false);
markM.setVisible(false);
this.setTitle("添加信息");
this.setExeType("add");
this.setTextAbled(true);
this.save.setEnabled(true);
this.add.setEnabled(false);
cancel.setEnabled(true);
d.setText("添加");
a.setVisible(false);
m.setVisible(false);
tou.setVisible(true);
tou.setIcon(SwingResourceManager.getIcon(StudentInfoFrame.class, "/images/bf6d5378bf4b6f80bbc4746cd52a44e6.gif"));
label_15.setIcon(SwingResourceManager.getIcon(StudentInfoFrame.class, "/images/2007128145225443.gif"));
add.setBounds(214, 314, 66, 48);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?