class DLFrame extends JFrame implements ActionListener, ItemListener
{// 登录界面
JPanel p1 = null;
JPanel p2 = null;
JPanel p3 = null;
JLabel userName = new JLabel("帐号:");
JTextField txtUser = new JTextField();
JLabel password = new JLabel("密码:");
JPasswordField txtPwd = new JPasswordField(6);
JLabel role = new JLabel("身份:");
JComboBox cbrole = new JComboBox();
JButton btnLogin = new JButton("登录");
JButton btncz = new JButton("重置");
JButton btnCancel = new JButton("取消");
JLabel imageLabel;
Icon image;
static int OK = 1;
static int