Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SystemTray.isSupported()
- SystemTray tray = SystemTray.getSystemTray();
- TrayIcon trayIcon = new TrayIcon(unaImagen, "tooltip");
- PopupMenu popup = new PopupMenu();
- //Aqui se añaden todos los elementos
- .....
- trayIcon.setPopupMenu(popup);
- tray.add(trayIcon);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement