图书管理系统
开发工具:eclipse 、MySQL
我的邮箱1927619331@qq.com
数据库
源码:
登录代码
package 登录界面;
import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
import 登录界面.LoginCheck;
class ActionHandle{
private JFrame frame=new JFrame("欢迎登录图书馆管理系统");
private JButton submit=new JButton("登陆");
private JButton reset=new JButton("重置");
private JLabel nameLab=new JLabel("用户名");
private JLabel passLab=new JLabel("密码");
private JLabel infoLab=new JLabel("用户登录系统");
private JTextField nameText=new JTextField();
private JPasswordField passText=new JPasswordField();
public ActionHandle() {
Font fnt=new Font("serief",Font.BOLD,12);
infoLab.setFont(fnt);
submit.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent arg0) {
if(arg0.getSource()