📄 addstudentinfoframe.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -