public void loginCheck() throws LoginException, IOException { String name = userName.getText(); String pwd = password.getText(); login(name, pwd); }