----- Original Message -----
Sent: Thursday, November 21, 2002 5:53
PM
Subject: [jdjlist] Re: An always on top
dialog
less traffic -> some thoughts derived from
Win.... MDI concepts :
you probably can determine
"modal" and "modeless" dialogs as
well.
One of these dialog types always stays on
top , blocks other window I/O and therefor requires user action.
(the standard Find dialog is an example of
one type , the older Amiga "panic" messages the other type)
Remarks to your suggested solution:
something like WindowFromPoint() might
also exist - called with one or more relevant points of your dialog
window (e.g. the middle and the edges) it
can be used to decide when to trigger that toFront() method.
sincerely,
U. Penski
----- Original Message -----
Sent: Thursday, November 21, 2002 9:00
AM
Subject: [jdjlist] An always on top
dialog
Hi
In an MDI application, I need to create a
dialog which stays always on top of the application. A typical example
of this is the standard Find dialog in many application like Word or
even in applications written in java like NetBeans.
The only hint that I find is that the
java.awt.Window class has a toFront() methos. However, to use this, I would
have to check for any focuses gained by other windows/dialogs and always
call this method which seems to be a too complicated way.
Are threre any other easier ways?
Thanks for any help.
Ivan
____________________________________________________
To
change your JDJList options, please
visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean
up your posts before
replying
____________________________________________________
____________________________________________________
To change
your JDJList options, please
visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up
your posts before
replying
____________________________________________________
____________________________________________________