I would like to create a program that is controlled entirely via the SystemTray and does NOT require any presence on the Windows task bar. The SystemTray part of the problem is not an issue. I've written some SystemTray code in the past. What I don't know how to do is prevent a running java program from appearing on the task bar. Any suggestions would be appreciated. Is this even possible?
note that a JWindow without a visible parent will not allow focus for typing in textfields etc
if you do require focus, there is a workaround/hack that eliminates the visible parent i.e. does not appear in taskbar
This is interesting. I was not aware of this one.
I just ran a small test and looks like JTextComponents and their children indeed do not receive focus. However, components like JCheckBox JButton, JTree do.
Michael, could you please share the hack?
Joined: Jun 09, 2003
just need to tell the JWindow it has a visible parent, even though it doesn't