question: public LobbyClient login ( ) { if ( ! m_serverProperties . isServerAvailable ( ) ) { JOptionPane . showMessageDialog ( m_parent , m_serverProperties . serverErrorMessage , "Could not connect to server" , JOptionPane . ERROR_MESSAGE ) ; return null ; } if ( m_serverProperties . port == - 1 ) { if ( ClientFileSystemHelper . areWeOldExtraJar ( ) ) { JOptionPane . showMessageDialog ( m_parent , "<html>Could not find lobby server for this version of TripleA, <br>Please make sure you are using the latest version: " + UrlConstants . LATEST_GAME_DOWNLOAD_WEBSITE + "<br /><br />This is because you are using an old engine that is kept for backwards compatibility. " + "<br /><b>In order to load your Old savegames in the New lobby, you must First join the lobby with the latest engine, Then host a game, Then load the old savegame!</b></html>" , "Could not connect to server" , JOptionPane . ERROR_MESSAGE ) ; } else { JOptionPane . showMessageDialog ( m_parent , "<html>Could not find lobby server for this version of TripleA, <br>Please make sure you are using the latest version: " + UrlConstants . LATEST_GAME_DOWNLOAD_WEBSITE + "</html>" , "Could not connect to server" , JOptionPane . ERROR_MESSAGE ) ; } return null ; } return loginToServer ( ) ; }
target:  Attempt to login to the LobbyServer <p> If we could not login, return null.