04期刊管理系统系统实现.doc

04期刊管理系统系统实现.doc

目录 1 系统登录界面 3 1.1 读者查询主界面 6 1.1.1 个人借阅查询界面 8 1.1.2 库存期刊查询界面 10 1.1.3 期刊去向查询界面 12 1.1.4 修改密码界面 15 1.2 管理员主界面 18 1.2.1 读者管理界面 20 1.2.1.1 添加用户界面 23 1.2.1.2 删除用户界面 26 1.2.1.3 修改用户界面 28 1.2.2 期刊管理界面 31 1.2.2.1 添加期刊界面 34 1.2.2.2 删除期刊界面 37 1.2.2.3 库存期刊查询界面 40 1.2.2.4 期刊去向查询界面 42 1.2.3 借阅管理界面 45 1.2.4 修改密码界面 48 “期刊管理系统”系统实现 本系统用Java语言来实现。集成开发环境采用JBuilder2008,数据库采用MySql。 系统登录界面 首先,有一个“系统登录”窗体,根据用户所输入的用户名来判断是读者还是管理员,并分别切换至“读者查询主界面”或“管理员主界面”。 图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.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 final 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.setVisible(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); 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); fra

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档