Hi,
Can java detemine if a particular window (e.g. JFrame) is visible on the
monitor (i.e. it is not hidden beneath some other programs)? How do you do
it?
Cheers,
Rach.
Andrew Thompson - 07 Jan 2004 17:21 GMT
..
| Can java detemine if a particular window (e.g. JFrame) is visible on the
| monitor (i.e. it is not hidden beneath some other programs)? How do you do
| it?
Do you want to just find out, or make it front?
Window.toFront() makes it top window..
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Jon A. Cruz - 14 Jan 2004 19:16 GMT
> Hi,
>
> Can java detemine if a particular window (e.g. JFrame) is visible on the
> monitor (i.e. it is not hidden beneath some other programs)? How do you do
> it?
I would have to say 'Why?'
What's the reason you have for wanting to check this? What are you
trying to do?