修改密码部分的错误!
class userListenerlostFocus extends FocusAdapter {
public void focusLost(FocusEvent e)
{
Check ch = new Check();
Vector user_v= new Vector();
user_v.add("operator");
user_v.add(username.getText());
if (ch.Validate(user_v)!=1){
JOptionPane.showMessageDialog(null, username.getText()+"用户不存在!");
username.setText("");
}
}
}
[解决办法]