*/
private void joinGame()
{
String gameName = gameJoinComboBox.getSelectedItem().toString();
GameServer gameServer = null;
try
{
Registry registry = LocateRegistry.getRegistry(remoteServerAddress);
gameServer = (GameServer) registry.lookup(GlobalServer.SINGLE_GAME_SERVER_STUB_PREFIX + gameName);
if (gameServer.getPlayers().size() == PlayerMark.getNumberOfPlayerMarks())
{
JOptionPane.showMessageDialog(this, GUIMessages.THE_SELECTED_GAME_IS_FULL, GUIMessages.ERROR_TEXT.toString(), JOptionPane.ERROR_MESSAGE);
return;
}
}