private JMenuBar creatingMenu() {
		JMenu menu = new JMenu("Menu");
		add(menu);
		JMenuItem newGameButton = new JMenuItem("New Game");
		JMenuItem saveGameButton = new JMenuItem("Save Game");
		JMenuItem loadGameButton = new JMenuItem("Load Game");
		menu.add(newGameButton);
		menu.add(saveGameButton);
		menu.add(loadGameButton);
		JMenuBar menuBar = new JMenuBar();
		menuBar.add(menu);
		setJMenuBar(menuBar);

		newGameButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event) {
				System.out.println("new game clicked");
				displayPlayAgain("Start new game?");
			}
		});

		saveGameButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event) {
				System.out.println("save game clicked");
				String saveGame = JOptionPane
						.showInputDialog("Enter save name:");
				Date dNow = new Date();
				SimpleDateFormat timeStamp = new SimpleDateFormat(
						"H.mm dd.MM.yy");

				System.out.println("Current Date: " + timeStamp.format(dNow));

				new OthelloGameSaver("saves\\othellosaves\\" + saveGame + "  ["
						+ timeStamp.format(dNow) + "]" + ".xml");

			}
		});

		loadGameButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event) {
				System.out.println("load game clicked");
				String saveFile = "";
				String fileExtension = "";
				JFileChooser chooser = new JFileChooser();
				chooser.setCurrentDirectory(new File(".\\saves\\othellosaves\\"));
				FileNameExtensionFilter filter = new FileNameExtensionFilter(
						"Game saves only", "xml");
				chooser.setFileFilter(filter);
				int returnVal = chooser.showOpenDialog(OthelloGameGUI.this);
				if (returnVal == JFileChooser.APPROVE_OPTION) {
					saveFile = chooser.getSelectedFile().getName();
					fileExtension = saveFile.substring(
							saveFile.lastIndexOf(".") + 1, saveFile.length());

				}
				if (fileExtension.equals("xml")) { // checks if file selected is
													// an xml file
					if (saveFile != "") { // checks if the user selected cancel
											// instead
						try{
							new OthelloGameLoader("saves\\othellosaves\\"
									+ saveFile);
						}catch(Exception e){System.out.println("Corrupted file type.");}
					}
				} else {
					JOptionPane.showMessageDialog(null,
							"You have not chosen a game save");
				}
			}
		});
		return menuBar;
	}