Package pt.treps.ui

Examples of pt.treps.ui.TrayPopupMenu


    if (SystemTray.isSupported()) {
      // get the SystemTray instance
      SystemTray tray = SystemTray.getSystemTray();
      // load an image
      Image image = ((ImageIcon) IconFactory.getIconBig("report-80x80.png")).getImage();
      trayIcon = new TrayIcon(image, "Time Reporting", new TrayPopupMenu());
      try {
        tray.add(trayIcon);
      } catch (AWTException e) {
        System.err.println(e);
      }
View Full Code Here

TOP

Related Classes of pt.treps.ui.TrayPopupMenu

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.