public boolean menuAction(ActionEvent e) {
		String cmd = e.getActionCommand();
		if (cmd.equals("Quit")) {
			exit();
		} else if (cmd.equals("Print")) {
			Frame frame = JTFTools.getEnclosingFrame(this);
			if (frame == null) return true;
			PrintJob pj = frame.getToolkit().getPrintJob(frame, myTitle, null);
			if (pj == null) return true;
			Graphics pg = pj.getGraphics();
			pg.translate(PRINT_MARGIN, PRINT_MARGIN);
			frame.printAll(pg);
			pj.end();
			return true;
		} else if (cmd.equals("Export Applet") || cmd.equals("Submit Project")) {
			JTFTools.executeExportAction(this, cmd);
			return true;
		}
		return getConsole().menuAction(e);
	}