How do I specify the popup menu to show for an application on the system tray?

John Zukowski

When you create the TrayIcon for the SystemTray, you specify the PopupMenu.

TrayIcon trayIcon = new TrayIcon(anImage, "Tooltip", aPopupMenu);
Just don't forget to fill it with MenuItem objects.
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.