Examples of StopSystemAction


Examples of de.chris_soft.nanodoa.gui.actions.StopSystemAction

  }

  private void addFileMenu() {
    JMenu menu = new JMenu("File");
    menu.setMnemonic(KeyEvent.VK_F);
    createMenuItemWithControlAccelerator(menu, "Exit", KeyEvent.VK_X, new StopSystemAction(), KeyEvent.VK_Q);
    createMenuItemWithControlAccelerator(menu, "Restart", KeyEvent.VK_R, new RestartAction(), KeyEvent.VK_R);
    add(menu);
  }
View Full Code Here

Examples of de.chris_soft.nanodoa.gui.actions.StopSystemAction

    popup.add(getMenuItem("Fulltext search", new FulltextSearchAction()));
    popup.addSeparator();
    popup.add(getMenuItem("About", new ShowAboutWindowAction()));
    popup.add(getMenuItem("Configuration wizard", new ShowConfigurationWizardAction()));
    popup.addSeparator();
    popup.add(getMenuItem("Exit", new StopSystemAction()));
    return popup;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.