Package java.awt

Examples of java.awt.TrayIcon


    PanelBuilder builder = new PanelBuilder(layout);
    builder.setDefaultDialogBorder();
    CellConstraints cc = new CellConstraints();

    trayIcon = new TrayIcon(disconnectTrayIcon, "JNetMap(c) 2006", PopupMenuController.getInstance().getPopupMenu());
    trayIcon.setImageAutoSize(true);
    trayIcon.setActionCommand("ShowMainWindow");
    trayIcon.addActionListener(this);
   
View Full Code Here


      return Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource(fileName));
   }

   private void createTrayIcon() {
      Image image = images.get(initialStatus);
      trayIcon = new TrayIcon(image, initialTip);
   }
View Full Code Here

TOP

Related Classes of java.awt.TrayIcon

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.