Package de.chris_soft.nanodoa.gui.actions

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


    }
  }

  private PopupMenu createPopupMenu() {
    PopupMenu popup = new PopupMenu();
    popup.add(getMenuItem("NanoDoA main window", new ShowMainWindowAction()));
    popup.add(getMenuItem("Fulltext search", new FulltextSearchAction()));
    popup.addSeparator();
    popup.add(getMenuItem("About", new ShowAboutWindowAction()));
    popup.add(getMenuItem("Configuration wizard", new ShowConfigurationWizardAction()));
    popup.addSeparator();
View Full Code Here


  private void createTrayIcon(PopupMenu popup) throws AWTException {
    trayIcon = new TrayIcon(images[0]);
    trayIcon.setPopupMenu(popup);
    trayIcon.setToolTip("NanoDoA");
    trayIcon.addActionListener(new ShowMainWindowAction());
    systemTray = SystemTray.getSystemTray();
    systemTray.add(trayIcon);
  }
View Full Code Here

TOP

Related Classes of de.chris_soft.nanodoa.gui.actions.ShowMainWindowAction

Copyright © 2018 www.massapicom. 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.