public void actionPerformed(ActionEvent e) {
		if (e.getSource() == save) {
			new saveXml();
		} else if (e.getSource() == newGame) {
			int reply = JOptionPane.showConfirmDialog(this,
					"Are you sure to start a new game?", "New Game",
					JOptionPane.YES_NO_OPTION);
			if (reply == JOptionPane.YES_OPTION) {
				saveXml.dir = new File("SavedGames");
				if (!saveXml.dir.exists()) {
					saveXml.dir.mkdir();
					saveXml.setBaseXml();
				} else
					saveXml.setBaseXml();
				removeIcons();
				paintDefaultSquare();
				new ChessPiece("base.xml");
				fillSquares();

			}

		} else if (e.getSource() == load) {
			int returnVal = fc.showOpenDialog(this);

			if (returnVal == JFileChooser.APPROVE_OPTION) {
				removeIcons();
				File file = fc.getSelectedFile();
				new ChessPiece(file.getName());
				fillSquares();
			}
		} else if (e.getSource() == back) {
			removeIcons();
			new ChessPiece(saveXml.getSavedFile());
			fillSquares();
			if (Game.isPlayer())
				Game.setActivePlayer(Players.getUserName() + " (light) ");
			else
				Game.setActivePlayer(Players.getUserName2() + " (dark) ");
			GUIchess.setLabelMessage(Game.getActivePlayer() + " 's round");
		} else if (e.getSource() == logo) {
			openWebsite();
		}
	}