@Override
            public void actionPerformed(ActionEvent e) {        //ť
                String name;        //ûû
                String pass;        //û
                int result;         //½У
                name=nameText.getText();    //ûû
                pass=String.valueOf(passText.getPassword());    //û
                result= LoginBLL.check(name,pass);      //Уû
                if(result==1)           //ȷ
                {
                    JOptionPane.showMessageDialog(null,"½ɹ"); //ɹʾ
                    loginDialog.this.dispose();     //رնԻ
                }
                else        //ʾ
                {
                    JOptionPane.showMessageDialog(null,"");
                }

            }