/**
  * Logs the user with current user and pass, this way they don't have to click "Login".
  *
  * @return
  */
 public void enterKeyDefault() {
   if (!m_lang.isVisible()) {
     if (m_select.isVisible()) {
       m_select.goServer();
     } else {
       m_login.goLogin();
     }
   }
 }
 /** Shows the server selection dialog */
 public void showServerSelect() {
   m_register.setVisible(false);
   m_login.setVisible(false);
   m_select.reloadStrings();
   m_select.setVisible(true);
   m_openAbout.setVisible(false);
   m_openToS.setVisible(false);
   m_lang.setVisible(false);
 }
 /** Shows the server selection dialog */
 public void showLanguageSelect() {
   m_register.setVisible(false);
   m_login.setVisible(false);
   m_select.setVisible(false);
   m_lang.setVisible(true);
   m_openAbout.setVisible(false);
   m_openToS.setVisible(false);
 }
 /** Shows the registration dialog */
 public void showRegistration() {
   m_select.setVisible(false);
   m_login.setVisible(false);
   m_openAbout.setVisible(true);
   m_openToS.setVisible(true);
   m_lang.setVisible(false);
   m_register.reloadStrings();
   m_register.setVisible(true);
   m_register.grabFocus();
 }
 /** Shows the login dialog */
 public void showLogin() {
   m_login.reloadStrings();
   m_select.setVisible(false);
   m_register.setVisible(false);
   m_login.setVisible(true);
   m_openAbout.setVisible(true);
   m_openToS.setVisible(true);
   m_login.getLoginButton().setEnabled(true);
   m_lang.setVisible(false);
 }