export.addItem("As PDF...", selectionCommand);
export.addItem("As Doc...", selectionCommand);
file.addSeparator();
file.addItem("Exit", selectionCommand);
MenuItem edit = menuBar.addItem("Edit", null);
edit.addItem("Copy", selectionCommand);
edit.addItem("Cut", selectionCommand);
edit.addItem("Paste", selectionCommand);
menuBar.addItem("Help", selectionCommand);