04期刊管理系统系统实现.doc
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《04期刊管理系统系统实现.doc》由会员分享,可在线阅读,更多相关《04期刊管理系统系统实现.doc(47页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、目录1系统登录界面31.1读者查询主界面61.1.1个人借阅查询界面81.1.2库存期刊查询界面101.1.3期刊去向查询界面121.1.4修改密码界面151.2管理员主界面181.2.1读者管理界面201.2.1.1添加用户界面231.2.1.2删除用户界面261.2.1.3修改用户界面281.2.2期刊管理界面311.2.2.1添加期刊界面341.2.2.2删除期刊界面371.2.2.3库存期刊查询界面401.2.2.4期刊去向查询界面421.2.3借阅管理界面451.2.4修改密码界面48“期刊管理系统”系统实现本系统用Java语言来实现。集成开发环境采用JBuilder2008,数据库
2、采用MySql。1 系统登录界面首先,有一个“系统登录”窗体,根据用户所输入的用户名来判断是读者还是管理员,并分别切换至“读者查询主界面”或“管理员主界面”。图1 系统登录界面package cn.edu.hpu.lq;import java.awt.Font;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.
3、JPasswordField;import javax.swing.JTextField;public class LoginApplication private JFrame frame;private final JLabel lbl_login = new JLabel();private final JLabel lbl_name = new JLabel();private final JLabel lbl_password = new JLabel();private final JTextField textField = new JTextField();private fi
4、nal JPasswordField passwordField = new JPasswordField();private final JButton button = new JButton();private final JButton btn_exit = new JButton();/* * Launch the application * param args */public static void main(String args) try LoginApplication window = new LoginApplication();window.frame.setVis
5、ible(true); catch (Exception e) e.printStackTrace();/* * Create the application */public LoginApplication() jbInit();/* * Initialize the contents of the frame */private void jbInit() frame = new JFrame();frame.setTitle(期刊管理系统);frame.getContentPane().setLayout(null);frame.setBounds(100, 100, 500, 375
6、);frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);frame.getContentPane().add(lbl_login);lbl_login.setFont(new Font(, Font.BOLD, 22);lbl_login.setText(系统登录);lbl_login.setBounds(188, 44, 92, 40);frame.getContentPane().add(lbl_name);lbl_name.setText(用户名:);lbl_name.setBounds(90, 117, 66, 18);frame.
7、getContentPane().add(lbl_password);lbl_password.setText(密码:);lbl_password.setBounds(103, 158, 53, 18);frame.getContentPane().add(textField);textField.setBounds(167, 115, 176, 22);frame.getContentPane().add(passwordField);passwordField.setBounds(167, 156, 176, 22);frame.getContentPane().add(button);b
8、utton.setText(登录);button.setBounds(98, 231, 106, 28);frame.getContentPane().add(btn_exit);btn_exit.addActionListener(new Btn_exitActionListener();btn_exit.setText(退出);btn_exit.setBounds(232, 231, 106, 28);private class Btn_exitActionListener implements ActionListener public void actionPerformed(Acti
9、onEvent e) btn_exit_actionPerformed(e);protected void btn_exit_actionPerformed(ActionEvent e) System.exit(0);1.1 读者查询主界面图2 读者查询主界面package cn.edu.hpu.lq;import javax.swing.JButton;import javax.swing.JFrame;public class ReaderFrame extends JFrame private final JButton button = new JButton();private fi
10、nal JButton button_1 = new JButton();private final JButton button_2 = new JButton();/* * Launch the application * param args */public static void main(String args) try ReaderFrame frame = new ReaderFrame();frame.setVisible(true); catch (Exception e) e.printStackTrace();/* * Create the frame */public
11、 ReaderFrame() super();setBounds(100, 100, 500, 375);setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);try jbInit(); catch (Throwable e) e.printStackTrace();/private void jbInit() throws Exception getContentPane().setLayout(null);setTitle(读者查询);getContentPane().add(button);button.setText(个人借阅查询);button
12、.setBounds(135, 77, 147, 28);getContentPane().add(button_1);button_1.setText(库存期刊查询);button_1.setBounds(135, 147, 147, 28);getContentPane().add(button_2);button_2.setText(期刊去向查询);button_2.setBounds(135, 216, 147, 28);1.1.1 个人借阅查询界面图3 个人借阅查询主界面package cn.edu.hpu.lq;import javax.swing.JButton;import j
13、avax.swing.JFrame;import javax.swing.JScrollPane;import javax.swing.JTable;import javax.swing.table.DefaultTableModel;public class 个人借阅查询 extends JFrame String columNames = 用户名,期刊名,年份,期号,借出日期,应还日期;Object data = ,;DefaultTableModel dtm = new DefaultTableModel(data,columNames);private final JTable tab
14、le = new JTable(dtm);private final JScrollPane scrollPane = new JScrollPane();private final JButton button = new JButton();/* * Launch the application * * param args */public static void main(String args) try 个人借阅查询 frame = new 个人借阅查询();frame.setVisible(true); catch (Exception e) e.printStackTrace()
15、;/* * Create the frame */public 个人借阅查询() super();setBounds(100, 100, 500, 375);setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);try jbInit(); catch (Throwable e) e.printStackTrace();/private void jbInit() throws Exception getContentPane().setLayout(null);setTitle(个人借阅查询);getContentPane().add(scrollPan
16、e);scrollPane.setBounds(0, 0, 484, 254);scrollPane.setViewportView(table);getContentPane().add(button);button.setText(返回);button.setBounds(89, 276, 106, 28);1.1.2 库存期刊查询界面图4 库存期刊查询界面package cn.edu.hpu.lq;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JScrollPane;import javax
17、.swing.JTable;import javax.swing.table.DefaultTableModel;public class 库存期刊查询 extends JFrame String columNames = CN刊号,期刊名,期刊年份,数量;Object data = ,;DefaultTableModel dtm = new DefaultTableModel(data,columNames);private final JTable table = new JTable(dtm);private final JScrollPane scrollPane = new JScr
18、ollPane();private final JButton button = new JButton();/* * Launch the application * param args */public static void main(String args) try 库存期刊查询 frame = new 库存期刊查询();frame.setVisible(true); catch (Exception e) e.printStackTrace();/* * Create the frame */public 库存期刊查询() super();setBounds(100, 100, 5
19、00, 375);setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);try jbInit(); catch (Throwable e) e.printStackTrace();/private void jbInit() throws Exception getContentPane().setLayout(null);setTitle(库存期刊查询);getContentPane().add(scrollPane);scrollPane.setBounds(0, 0, 484, 231);table.hashCode();scrollPane.se
20、tViewportView(table);getContentPane().add(button);button.setText(返回);button.setBounds(115, 267, 106, 28);1.1.3 期刊去向查询界面图5 期刊去向查询package cn.edu.hpu.lq;import javax.swing.JButton;import javax.swing.JComboBox;import javax.swing.JFrame;import javax.swing.JLabel;public class 期刊去向查询 extends JFrame private
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 04 期刊 管理 系统 实现
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内