資源簡介
可實現自動計費,計時,管理員合計收費,基本信息管理

代碼片段和文件信息
package?honghe;
import?java.awt.Color;
import?java.awt.FlowLayout;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?javax.swing.ImageIcon;
import?javax.swing.JButton;
import?javax.swing.Jframe;
import?javax.swing.JLabel;
import?javax.swing.JPanel;
public?class?Choice?extends?Jframe?implements?ActionListener{
JLabel?lb1;
JButton?bt1bt2bt3bt4bt5bt6bt7bt8bt9bt10bt11bt12bt13bt14;
public?Choice()
{
settitle(“紅河學院機房管理系統“);
setSize(550550);
setLayout(new?FlowLayout());
lb1=new?JLabel(“歡迎使用本系統“);
lb1.setFont(new?java.awt.Font(“宋體“150));
lb1.setForeground(Color.black);
add(lb1);
bt1=new?JButton(“添加使用者“);
add(bt1);
bt2=new?JButton(“修改使用者信息“);
add(bt2);
bt3=new?JButton(“刪除使用者信息“);
add(bt3);
bt4=new?JButton(“查看使用者信息“);
add(bt4);
bt5=new?JButton(“添加管理員“);
add(bt5);
bt6=new?JButton(“查看管理員信息“);
add(bt6);
bt12=new?JButton(“刪除管理員“);
add(bt12);
bt7=new?JButton(“查看上機信息“);
add(bt7);
bt8=new?JButton(“機房機器信息“);
add(bt8);
bt9=new?JButton(“查看用戶上機記錄“);
add(bt9);
bt10=new?JButton(“刪除上機記錄“);
add(bt10);
bt11=new?JButton(“設備故障信息管理“);
add(bt11);
bt13=new?JButton(“上機“);
add(bt13);
bt1.addActionListener(this);
bt2.addActionListener(this);
bt3.addActionListener(this);
bt4.addActionListener(this);
bt5.addActionListener(this);
bt6.addActionListener(this);
bt7.addActionListener(this);
bt8.addActionListener(this);
bt9.addActionListener(this);
bt10.addActionListener(this);
bt11.addActionListener(this);
bt12.addActionListener(this);
bt13.addActionListener(this);
this.setBounds(200300450300);
this.setVisible(true);
}
public?void?actionPerformed(ActionEvent?a)?{
if(a.getSource()==bt1){
new?Insert();
}
if(a.getSource()==bt2){
new Update();
}
if(a.getSource()==bt3){
new?Delete();
}
if(a.getSource()==bt4){
new?Search();
}
if(a.getSource()==bt5){
new?InsertGuanliyuan();
}
if(a.getSource()==bt6){
new?SearchGuanliyuan();
}
if(a.getSource()==bt7){
new?SearchShangji();
}
if(a.getSource()==bt8){
new?Jifangguanli();
}
if(a.getSource()==bt9){
new?SearchRelate();
}
if(a.getSource()==bt10){
new?DeleteRelate();
}
if(a.getSource()==bt11){
new?InsertRelate();
}
if(a.getSource()==bt12){
new?DeleteGuanliyuan();
}
if(a.getSource()==bt13){
new?InsertShangji();
}
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-11?16:47??紅河學院機房管理系統課程設計\
?????目錄???????????0??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\
?????文件?????????283??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\.classpath
?????文件?????????400??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\.project
?????目錄???????????0??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\.settings\
?????文件?????????592??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\
?????目錄???????????0??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\
?????文件????????3319??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\Choice.class
?????文件????????4066??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\Delete.class
?????文件????????4115??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\DeleteGuanliyuan.class
?????文件????????4088??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\DeleteRelate.class
?????文件????????2516??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\denglujiemian.class
?????文件????????4184??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\Insert.class
?????文件????????4061??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\InsertGuanliyuan.class
?????文件????????4097??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\InsertRelate.class
?????文件????????4149??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\InsertShangji.class
?????文件????????3540??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\Jifangguanli.class
?????文件?????????601??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\Login.class
?????文件????????3507??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\Search.class
?????文件????????3553??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\SearchGuanliyuan.class
?????文件????????3569??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\SearchRelate.class
?????文件????????3465??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\SearchShangji.class
?????文件????????6431??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\bin\honghe\Update.class
?????文件??????537303??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\sqljdbc4.jar
?????目錄???????????0??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\src\
?????目錄???????????0??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\src\honghe\
?????文件????????2632??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\src\honghe\Choice.java
?????文件????????2734??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\src\honghe\Delete.java
?????文件????????3065??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\src\honghe\DeleteGuanliyuan.java
?????文件????????3046??2018-01-11?16:16??紅河學院機房管理系統課程設計\test\src\honghe\DeleteRelate.java
............此處省略13個文件信息
評論
共有 條評論