Does anyone know of a way of if it is possible to have an application (Java on OSX) run in a system tray state but when a window is visible on the screen to have a dock icon? Currently I have a trade off between having the app running in the tray but also shown in the dock and with a menu bar or to have (using the plist hack) the app running only in the system tray (but with no dock icon when a window is shown).
I wish to to work exactly how it works on Windows. Running in the tray when no window is shown but when one is, showing a item in the taskbar/superbar.
Thanks for the help!