@Override
	public void actionPerformed(ActionEvent evt)
	{
		if (evt.getActionCommand().equals("Open")) {
			chooser = new JFileChooser();
			chooser.setSelectedFile(new File("leaderboard-recording.txt"));

			if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
				playerFile.setText(chooser.getSelectedFile().toString());
				startStop.setEnabled(true);
			}
		} else if (evt.getActionCommand().equals("Start")) {
			startStop.setText("Stop");
			playerFile.setEnabled(false);
			selectFileButton.setEnabled(false);
			player = new Player(playerFile.getText());
			player.execute();

		} else if (evt.getActionCommand().equals("Stop")) {
			player.close();
			startStop.setText("Start");
			playerFile.setEnabled(true);
			selectFileButton.setEnabled(true);
		}
	}