@Override
		public void actionPerformed(ActionEvent e) {
			if (e.getSource() == submit) {
				// Window work
				game.getControlPanel().setSubmitted(true);
				HumanPlayer humanPlayer = (HumanPlayer) game.getPlayers().get(0);
				humanPlayer.setHumanMustFinish(false);
				setVisible(false);
				game.getBoard().unhighlightTargets();

				String selectedPerson = (String) peoplePossibilities.getSelectedItem();
				String selectedRoom = (String) roomsPossibilities.getSelectedItem();
				String selectedWeapon = (String) weaponsPossibilities.getSelectedItem();

				// Process the accusation
				boolean winner = game.checkAccusation(new Solution(selectedPerson, selectedWeapon, selectedRoom));

				if (winner) {
					JOptionPane.showMessageDialog(game,"You win!", "Accusation", JOptionPane.INFORMATION_MESSAGE);
					// Logic to stop game progression

				}
				else {
					JOptionPane.showMessageDialog(game,"Sorry, that is not correct", "Accusation", JOptionPane.INFORMATION_MESSAGE);
				}
			}
			else if (e.getSource() == cancel) {
				setVisible(false);
			}
		}