menuHide.setAccelerator(KeyCombination.keyCombination("shortcut+H"));
MenuItem menuHideOthers = new MenuItem("Andere ausblenden");
menuHideOthers.setAccelerator(KeyCombination.keyCombination("Alt+shortcut+H"));
MenuItem menuShowAll = new MenuItem("Alle einblenden");
menuShowAll.setDisable(true);
menuSystemPreferences.getItems().addAll(new MenuItem("\u00DCber Systemeinstellungen"), new SeparatorMenuItem(), menuServices,
new SeparatorMenuItem(), menuHide, menuHideOthers, menuShowAll, new MenuItem("Systemeinstellungen beenden"));
Menu menuEdit = new Menu("Bearbeiten");
menuEdit.getItems().addAll(new MenuItem("..."));
Menu menuPreferences = new Menu("Einstellungen");
menuPreferences.getItems().addAll(new MenuItem("..."));
Menu menuWindow = new Menu("Fenster");
MenuItem windowClose = new MenuItem("Schlie\u00dfen");
windowClose.setAccelerator(KeyCombination.keyCombination("shortcut+W"));
MenuItem windowDock = new MenuItem("Im Dock ablegen");
windowDock.setAccelerator(KeyCombination.keyCombination("shortcut+M"));
CheckMenuItem actual = new CheckMenuItem("Datum & Uhrzeit");
actual.setSelected(true);
menuWindow.getItems().addAll(windowClose, windowDock, new SeparatorMenuItem(), actual);
Menu menuHelp = new Menu("Hilfe");
MenuItem help = new MenuItem("Systemeinstellungen-Hilfe");
help.setAccelerator(KeyCombination.keyCombination("shortcut+?"));
menuHelp.getItems().addAll(new MenuItem("Schlie\u00dfen"), help);