private void loadRooms() {
		// TODO Auto-generated method stub
		// rooms=room1{key1:value;key2:value...},room1{key1:value;key2:value...}
		lobby.setStatus("Loading Rooms");
		String[] results = new String[MAX_GAMES_TO_LOAD];
		String response = sendMessageToServer(GameSocketServer.GET_ALL_GAMES,
				",load=" + MAX_GAMES_TO_LOAD);
		// for (int i = 0; i < MAX_GAMES_TO_LOAD; i++) {
		// results[i] = sendMessageToServer(GameSocketServer.GET_GAME
		// + i);
		// currentGameFetched = results[i];
		// if (results[i].contains(GameSocketServer.COULD_LOAD_GAMES)) {
		// results[i] = results[i].split("@")[1];
		// } else
		// break;
		// }
		if (response.contains(GameSocketServer.GET_ALL_GAMES_SUCCESS)
				&& response.contains(ManagerSocketServer.END_LINE_DELIMETER)) {
			results = (response.split("@")[1]
					.split(ManagerSocketServer.END_MESSAGE_DELIMETER)[0])
					.split("\\" + ManagerSocketServer.END_LINE_DELIMETER);
			lobby.setJTableRow(results, "games_table");
			lobby.setStatus("Done");
		} else
			lobby.setStatus("Error loading Rooms." + response);
	}