How to let a java window be "always on top"?

I want to write an application with an windowbeing always on top. Thus, any other windows will not cover it. Does anyone know how to achive this?thanks
[186 byte] By [modelart] at [2007-9-26 2:53:26]
# 1
you have to use JDialog ,this will not allow any other frame or window to cover it.
nokhaz at 2007-6-29 10:42:09 > top of Java-index,Archived Forums,Java 2 Software Development Kit (J2SE SDK)...
# 2

> I want to write an application with an window

> being always on top. Thus, any other windows will

> not cover it. Does anyone know how to achive this?

>

> thanks

You mean splash screen kind of thing

I have tried it with different ways but never had a permanently widow on top

Any how you can try toFront() method and relate it with focus lost that will solve purpose some how

Please let me know if you find any other better solution

Regards

Ejaz Hussain

eharain at 2007-6-29 10:42:09 > top of Java-index,Archived Forums,Java 2 Software Development Kit (J2SE SDK)...