public boolean menuAction(ActionEvent e) {
		String cmd = e.getActionCommand();
		if (cmd.equals("Cut")) {
			cut();
			return true;
		} else if (cmd.equals("Copy")) {
			copy();
			return true;
		} else if (cmd.equals("Paste")) {
			paste();
			return true;
		} else if (cmd.equals("Select All")) {
			selectAll();
			return true;
		} else if (cmd.equals("Save")) {
			save();
			return true;
		} else if (cmd.equals("Save As")) {
			saveAs();
			return true;
		} else if (cmd.equals("Script")) {
			script();
			return true;
		} else if (cmd.equals("Print Console")) {
			printConsole();
			return true;
		}
		return false;
	}