附录:源代码
1、用户登录界面
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.sql.*;
public class Systems extends JFrame implements ActionListener
{
static Systems ss;
JPanel panel = new JPanel();
JLabel label1 = new JLabel("输入 XX:");
JTextField name = new JTextField();
JLabel label2 = new JLabel("密码:");
JPasswordField pwd = new JPasswordField();
utton Enter = new utton("登录");
utton Exit = new utton("退出");
String url = "E:\\mysql\\TM1.jpg";
ButtonGroup bgp = new ButtonGroup();
JRadioButton stu = new JRadioButton("学生");
JRadioButton tch = new JRadioButton("教师");
评论0
最新资源