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.
About | Sitemap | Contact