I'm working on a installer that creates a Java service that will have a GUI attached to it. For now I'm simply creating an icon in the system tray, but once I get the services + GUI relationships worked out it'll be a full blown GUI.
So my question is this: when a computer reboots and a service starts, how does the GUI (tray icon in this case) attach itself to a user desktop if no one has logged in?
Currently I have the service install working and it does start correctly on restart. I'm not sure, however, how the GUI code is meant to behave. Right now I can see the service starts before anyone logs in and the GUI creation code is executed. It appears that then the first person to log in see the tray icon, but no one else will (If you switch users). Ideally I'd like some sort of control over who sees it or at least make sure everyone sees the icon. Anyone out there worked with this before?