my icon didnt disappear in java system tray
0 posts in topic
Flat View  Flat View

Posted By:   herlambang_permadi
Posted On:   Sunday, November 20, 2011 09:29 PM

i have write this method:

private void addTray() {
ImageIcon ii=new ImageIcon("bulb.gif");
Image img=ii.getImage();
TrayIcon trayIcon=new TrayIcon(img,"Menu Cari",popMenu);
SystemTray systemTray=SystemTray.getSystemTray();
try {
} catch (Exception e) {
} }
and locate the method n constructor, but why the icon didnt displayed?
nb:just the icon didnt displayed, the system tray success work

About | Sitemap | Contact