Hi,
I've got two windows, A & B. When A is active (i.e. is at Front), I want B
to be at second Front. How do I do this? How can I modify the windows stack
ordering?
Cheers,
Rach.
ak - 07 Jan 2004 12:06 GMT
> I've got two windows, A & B. When A is active (i.e. is at Front), I want B
> to be at second Front. How do I do this? How can I modify the windows stack
> ordering?
You have 2 possibilities:
B is Frame or JFrame, A is JDialog or JWindow. B is owner of A (see javadoc
for constructor of JDialog/JWindow)
or
A and B are JWindow. B is owner of A.
A stays always in front of B (even if you selects B)
____________
http://reader.imagero.com the best java image reader.
Andrew Thompson - 07 Jan 2004 14:08 GMT
| Hi,
|
| I've got two windows, A & B. When A is active (i.e. is at Front), I want B
| to be at second Front. How do I do this? How can I modify the windows stack
| ordering?
You can achieve that by making B a Dialog..
HTH
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Andrew Thompson - 07 Jan 2004 14:10 GMT
| | Hi,
| |
[quoted text clipped - 5 lines]
|
| You can achieve that by making B a Dialog..
And of course, by saying B, I meant _A_.
Just checking you were paying attention. ;-)
Andrew Thompson - 07 Jan 2004 14:21 GMT
Oh, yeah and..
http://www.physci.org/launcher.jsp#SampleDialog
[ 'modeless' will have the same effect. ]