public void actionPerformed(ActionEvent e) {
		if(e.getSource() == finish)	{
			addGame();
			mathGame.getCardPanel().hideCards(); // Hide cards until next player joins
			mathGame.showMenu(MathGame.Menu.GAME); // Go to the game (but should it wait?)
			Thread waitForPlayer = new Thread()	{
					public void run() {
						while(!mathGame.getGameManager().gameFilled()) {
							System.out.println("waiting"); // Wait until the game is filled
						}
						mathGame.getCardPanel().showCards();
						mathGame.getSidePanel().startTimer(type);
						mathGame.getSidePanel().setUpMultiplayer();
						mathGame.getGameManager();
						
						//Get the names of the other players
						int numPlayers = mathGame.getGameManager().getGame().getNumberOfPlayers();
						for(int i=1; i<=numPlayers; i++)
						{							
							mathGame.getGameManager().getGame().addPlayer(GameManager.getMatchesAccess().getPlayerName(mathGame.getGameManager().getGame().getID(), i));
						}
					}
			};
			waitForPlayer.start();
			mathGame.getUser().setPlayerID(1);
		}
		else if(e.getSource() == cancel) {
			mathGame.showMenu(MathGame.Menu.MULTIMENU); // Return to the multiplayer menu
		}
	}