Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2004

Tip: Looking for answers? Try searching our database.

How to put window at 2nd front?

Thread view: 
Rachel - 07 Jan 2004 06:53 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?

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. ]


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.