Make my swing app daemon and can show monitor icon in taskbar in window

hi all
I have a application in swing.
when it iconized, i want to it be can not visible, ( this is easy to realize)
and then I want it can show a task icon at right of task bar in window so that user can make my application visible again.
I think there is need to write some JNI method to get and control the window instance in window using VC++ or some thing like it.
But I have no I idea to write it. May be it is some relative to mechanism in JVM.
So if I use C++ to start my application using "javaw", can I get the window instance that start by the "javaw"
this request may be not good.
Thanks in advanced

These threads have information on how to do this:
http://forum.java.sun.com/thread.jsp?forum=31&thread=533696
http://forum.java.sun.com/thread.jsp?forum=31&thread=484691

Similar Messages

Maybe you are looking for