?? deletestudentinfoframe.java
字號:
package com.sccp.StudentMS.baseFrame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import com.swtdesigner.SwingResourceManager;
public class DeleteStudentInfoFrame extends StudentInfoFrame{
public static void main(String args[]) {
try {
DeleteStudentInfoFrame frame = new DeleteStudentInfoFrame();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
public DeleteStudentInfoFrame()
{
add.setVisible(false);
modify.setVisible(false);
save.setVisible(false);
cancel.setVisible(false);
sum.setVisible(false);
see.setVisible(false);
markM.setVisible(false);
query.setText("查詢");
this.setTitle("刪除信息");
this.setTextAbled(false);
setResizable(false);
query.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent e) {
PeopleQueryFrame1 fqf1=new PeopleQueryFrame1();
fqf1.setLabelText("請選擇查詢方式:");
fqf1.t.setEnabled(false);
fqf1.setInfoFrameType("delete");
}
});
a.setVisible(false);
s.setVisible(false);
m.setVisible(false);
c.setVisible(false);
tou.setVisible(true);
tou.setIcon(SwingResourceManager.getIcon(StudentInfoFrame.class, "/images/b4ded2b31cd601e761477606bbac4ec6.gif"));
label_16.setIcon(SwingResourceManager.getIcon(StudentInfoFrame.class, "/images/ac.JPG"));
delete.setEnabled(true);
query.setBounds(312, 314, 66, 48);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -