Java Swing Tutorial - TrayIcon Example








Constructor

  1. Java TrayIcon(Image image) Constructor
  2. Java TrayIcon(Image image, String tooltip) Constructor
  3. Java TrayIcon(Image image, String tooltip, PopupMenu popup) Constructor

Method

  1. Java TrayIcon .addActionListener (ActionListener listener)
  2. Java TrayIcon .addMouseListener (MouseListener listener)
  3. Java TrayIcon .addMouseMotionListener (MouseMotionListener listener)
  4. Java TrayIcon .displayMessage (String caption, String text, TrayIcon .MessageType messageType)
  5. Java TrayIcon.getActionCommand()
  6. Java TrayIcon.getActionListeners()
  7. Java TrayIcon.getImage()
  8. Java TrayIcon.getMouseListeners()
  9. Java TrayIcon .getMouseMotionListeners ()
  10. Java TrayIcon.getPopupMenu()
  11. Java TrayIcon.getSize()
  12. Java TrayIcon.getToolTip()
  13. Java TrayIcon.isImageAutoSize()
  14. Java TrayIcon .removeActionListener (ActionListener listener)
  15. Java TrayIcon .removeMouseListener (MouseListener listener)
  16. Java TrayIcon .removeMouseMotionListener (MouseMotionListener listener)
  17. Java TrayIcon .setActionCommand (String command)
  18. Java TrayIcon.setImage(Image image)
  19. Java TrayIcon .setImageAutoSize (boolean autosize)
  20. Java TrayIcon .setPopupMenu (PopupMenu popup)
  21. Java TrayIcon.setToolTip(String tooltip)