java项目之教务管理系统

上传者: xqh881122 | 上传时间: 2021-04-12 18:07:29 | 文件大小: 3.07MB | 文件类型: RAR
package cn.com.edu.view.frame; import java.awt.AWTException; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Dimension; import java.awt.GridBagLayout; import java.awt.MenuItem; import java.awt.PopupMenu; import java.awt.SystemTray; import java.awt.Toolkit; import java.awt.TrayIcon; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JSplitPane; import javax.swing.JToolBar; import org.jvnet.substance.SubstanceLookAndFeel; import org.jvnet.substance.skin.FindingNemoSkin; import cn.com.edu.action.JMenuItemAction; import cn.com.edu.action.MainFrameAction; import cn.com.edu.util.GBC; import cn.com.edu.view.panel.AddStudentInfoPanel; import cn.com.edu.view.panel.FindStudentInfoPanel; /** * 教务管理系统主界面 * * @author Administrator * */ public class MainFrame extends JFrame { private static MainFrame instance; private JMenuBar bar;// 菜单条 private JMenu studentJMenu;// 菜单 private JMenu teacherJMenu;// 菜单 private JPanel center = new JPanel();// 中心面板用来放置卡片 private CardLayout card = new CardLayout();// 卡片布局 private JPanel west;// 西边面板 private JSplitPane split;// 分割面板 private JToolBar tool;// 工具条 private MainFrameAction action = new MainFrameAction(this);// 按钮事件对象 private JMenuItemAction menuItemAction = new JMenuItemAction(this);// 菜单事件对象 private SystemTray tray;// 系统托盘 private TrayIcon trayIcon;// 设置系统托盘的图片 /** * 使用单子设计模式主界面对象 * */ private MainFrame() { init(); } public static MainFrame getInstance() { if (instance == null) { instance = new MainFrame(); } return instance; } /** * 初始化主界面

文件下载

资源详情

[{"title":"( 73 个子文件 3.07MB ) java项目之教务管理系统","children":[{"title":"eduAdminSys","children":[{"title":".project <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":true},{"title":"student.sql <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"db.properties <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"cn","children":[{"title":"com","children":[{"title":"edu","children":[{"title":"excel","children":[{"title":"addstudentexcel","children":[{"title":"AddStudentExcel.java <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"dao","children":[{"title":"studentdao","children":[{"title":"StudentDaoInterface.java <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"StudentDao.java <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"StudentDaoImpl.java <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"action","children":[{"title":"studentdialogaction","children":[{"title":"FindStudentInfoDialogAction.java <span style='color:#111;'> 602B </span>","children":null,"spread":false}],"spread":true},{"title":"studentaction","children":[{"title":"AddStudentInfoAction.java <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"FindStudentInfoAction.java <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"JMenuItemAction.java <span style='color:#111;'> 566B </span>","children":null,"spread":false},{"title":"MainFrameAction.java <span style='color:#111;'> 986B </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"panel","children":[{"title":"AddStudentInfoPanel.java <span style='color:#111;'> 9.70KB </span>","children":null,"spread":false},{"title":"FindStudentInfoPanel.java <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"dialog","children":[{"title":"FindStudentDialog.java <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"frame","children":[{"title":"MainFrame.java <span style='color:#111;'> 8.68KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"vo","children":[{"title":"StudentVo.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"ConnectionDB.java <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"CheckInputText.java <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"GBC.java <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"DataPicker.java <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"JDatePicker.java <span style='color:#111;'> 9.48KB </span>","children":null,"spread":false},{"title":"JDayLabel.java <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"JDateDocument.java <span style='color:#111;'> 11.43KB </span>","children":null,"spread":false},{"title":"JCalendarPanel.java <span style='color:#111;'> 11.59KB </span>","children":null,"spread":false},{"title":"SingleObjectComboBoxModel.java <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"img","children":[{"title":"syssetup.png <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"switchuser.png <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"lib","children":null,"spread":false},{"title":"classes","children":[{"title":"cn","children":[{"title":"com","children":[{"title":"edu","children":[{"title":"excel","children":[{"title":"addstudentexcel","children":[{"title":"AddStudentExcel.class <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"dao","children":[{"title":"studentdao","children":[{"title":"StudentDaoImpl.class <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"StudentDaoInterface.class <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"StudentDao.class <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"action","children":[{"title":"studentdialogaction","children":[{"title":"FindStudentInfoDialogAction.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"JMenuItemAction.class <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"MainFrameAction.class <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"studentaction","children":[{"title":"AddStudentInfoAction.class <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"FindStudentInfoAction.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"view","children":[{"title":"panel","children":[{"title":"FindStudentInfoPanel$2.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"FindStudentInfoPanel$1.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"AddStudentInfoPanel.class <span style='color:#111;'> 7.76KB </span>","children":null,"spread":false},{"title":"AddStudentInfoPanel$1.class <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"FindStudentInfoPanel$3.class <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"FindStudentInfoPanel.class <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"dialog","children":[{"title":"FindStudentDialog.class <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"FindStudentDialog$1.class <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"frame","children":[{"title":"MainFrame$2.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"MainFrame$1.class <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"MainFrame$3.class <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"MainFrame.class <span style='color:#111;'> 7.33KB </span>","children":null,"spread":false},{"title":"MainFrame$4.class <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"vo","children":[{"title":"StudentVo.class <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"GBC.class <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"ConnectionDB.class <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"CheckInputText.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"JDayLabel.class <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"JDatePicker$MetalDateComboBoxUI.class <span style='color:#111;'> 856B </span>","children":null,"spread":false},{"title":"JCalendarPanel$3.class <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"JDatePicker$WindowsDateComboBoxUI.class <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"SingleObjectComboBoxModel.class <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"JDatePicker.class <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"DataPicker.class <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"JDatePicker$DatePopup.class <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"JDatePicker$MotifDateComboBoxUI.class <span style='color:#111;'> 927B </span>","children":null,"spread":false},{"title":"JCalendarPanel.class <span style='color:#111;'> 8.51KB </span>","children":null,"spread":false},{"title":"JCalendarPanel$1.class <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"JCalendarPanel$2.class <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"JDateDocument.class <span style='color:#111;'> 5.65KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"substance.jar <span style='color:#111;'> 1.54MB </span>","children":null,"spread":false},{"title":"classes12.jar <span style='color:#111;'> 1.14MB </span>","children":null,"spread":false},{"title":"jxl.jar <span style='color:#111;'> 611.87KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • just00play :
    需要修改某些地方能运行成功
    2015-10-19
  • 風迹 :
    运行不太行,需要修改。
    2014-06-29
  • oXiYan1234567 :
    适合学习。可以理解
    2014-06-17
  • chenglong0729 :
    感觉一般,还需要进行大幅度的修改才可以运行
    2014-05-28
  • j983545506 :
    不错,挺适合学习。
    2014-05-05
  • 程cheng111 :
    适合学习就行
    2014-04-27
  • shouqi321 :
    需要自己调试的
    2014-03-01
  • ja-va :
    这个要修改才能运行了,总体上还行
    2014-01-10
  • 悠悠的呦 :
    用来做毕设是个不错的选择
    2013-11-21
  • Faiz2 :
    怎么说呢!自我感觉有点...
    2013-10-11

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明