Features Overview
|
With JTray, tray icons can have Tool Tip Text which appear during a mouse-over. Icons can be animated, as shown in the screenshot to the left. Several image formats can be used to add an icon: gif, ico, jpg, png, and java.awt.Image objects.
JTray can display Java AWT and Swing Components as pop-ups. This allows developers to modify the look and feel and add powerful menu items. Click on the left image to toggle the Metal / Windows look and feel.
JTray can display a Balloon Message, as shown to the right (Windows 2000, XP, and Vista only).
Only a few lines of code are needed to add JTray to your Java programs.
// image1 is a java.awt.Image JTrayIcon jTrayIcon = new JTrayIcon(image1); // jPopupMenu is a javax.swing.JPopupMenu jTrayIcon.setRightClickTarget(jPopupMenu); jTrayIcon.show();
Operating System Support: Windows 98, Me, NT4, 2000, XP, and Vista
JRE Support: 1.3, 1.4, 1.5, and 1.6