資源簡介
java學生信息管理系統(tǒng)java學生信息管理系統(tǒng)java學生信息管理系統(tǒng)java學生信息管理系

代碼片段和文件信息
package?studentsystem;
import?java.awt.*;
import?javax.swing.*;
import?java.awt.event.*;
/**
?*?title:?
?*?Description:?
?*?Copyright:?Copyright?(c)?2006
?*?Company:?
?*?@download?by?http://www.codefans.net
?*?@author?not?attributable
?*?@version?1.0
?*/
public?class?about?extends?JDialog?{
??JPanel?panel1?=?new?JPanel();
??ImageIcon?icon=new?ImageIcon(“xuan.jpg“);//設置背景圖片
??JLabel?jLabel1?=?new?JLabel(icon);
????JButton?sure?=?new?JButton();
??public?about(frame?frame?String?title?boolean?modal)?{
????super(frame?title?true);
????try?{
??????jbInit();
??????pack();
????}
????catch(Exception?ex)?{
??????ex.printStackTrace();
????}
??}
??public?about()?{
????this(null?““?true);
??}
??private?void?jbInit()?throws?Exception?{
????jLabel1.setText(““);
????jLabel1.setBounds(new?Rectangle(5?5?392?250));
????panel1.setBounds(new?Rectangle(0?299?1?1));
????panel1.setLayout(null);
????jLabel1.setText(““);
????jLabel1.setBounds(new?Rectangle(-43?0?414?245));
????sure.setBounds(new?Rectangle(109?243?79?29));
????sure.setFont(new?java.awt.Font(“Dialog“?0?15));
????sure.setText(“確???定“);
????jLabel1.setToolTipText(“l(fā)eeyingzhang制作!“);
????sure.addActionListener(new?about_sure_actionAdapter(this));
????this.settitle(“呵呵!“);
????this.getContentPane().add(panel1?null);
????this.getContentPane().add(sure?null);
????this.getContentPane().add(jLabel1?null);
????this.setBounds(200200330310);
????this.getContentPane().setLayout(null);
????this.setVisible(true);
??}
??void?sure_actionPerformed(ActionEvent?e)?{
??this.dispose();
??}
}
class?about_sure_actionAdapter?implements?java.awt.event.ActionListener?{
??about?adaptee;
??about_sure_actionAdapter(about?adaptee)?{
????this.adaptee?=?adaptee;
??}
??public?void?actionPerformed(ActionEvent?e)?{
????adaptee.sure_actionPerformed(e);
??}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
-----------?---------??----------?-----??----
?????????????19116317????????????????????59
- 上一篇:jsp商場會員管理系統(tǒng)
- 下一篇:Spads 公式解析系統(tǒng)
評論
共有 條評論