How to make JFrame ToFront to all applications

HI

My problem is i have a JFrame where in i have a JCheckBock and when i check it my frame should be top from all applications opened(like MS Word,notepad or any window) and when it is dechecked it should be back when any application is opened . I tried in solaris by using toFront() but no result is found any suggestions please...

[352 byte] By [k_ramanadham2] at [2007-9-26 1:14:51]
# 1
You should use JLayeredPane as container of your objects. It has a method called "setLayer", or similar, through which you can assign Z-Order to the objects contained in it.See the JDK Documentation on "JLayeredPane" topic.
fsblendorio at 2007-6-29 0:32:41 > top of Java-index,Archived Forums,Swing...
# 2
You should use JLayeredPane as container of your objects. It has a method called "setLayer", or similar, through which you can assign Z-Order to the objects contained in it.See the JDK Documentation on "JLayeredPane" topic.
fsblendorio at 2007-6-29 0:32:41 > top of Java-index,Archived Forums,Swing...
# 3
Hi,If you are using Windows.. then you have to use JNI.. to do this. In this I can help you. You can give your mail ID i will send that to you.But you are using Solaris, sorry no examples for that...Deepak
Deepak_sh at 2007-6-29 0:32:41 > top of Java-index,Archived Forums,Swing...
# 4
Please send me the help too. I have a similar problem.Thank you!my E-Mail-address is: feimad00@hotmail.com
feimad at 2007-6-29 0:32:41 > top of Java-index,Archived Forums,Swing...