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 / General / November 2006

Tip: Looking for answers? Try searching our database.

JDialog focus

Thread view: 
aaronfude@gmail.com - 08 Nov 2006 22:08 GMT
Hi,

Is it possible to ensure that, upon setVisible(true), a JDialog pop-up
jumps on top of all other windows including other applications?

Many thanks in advance!

Aaron Fude
Andrew Thompson - 09 Nov 2006 01:20 GMT
...
> Is it possible to ensure that, upon setVisible(true), a JDialog pop-up
> jumps on top of all other windows ...

modal true.

>...including other applications?

setAlwaysOnTop()

Andrew T.
Eric Sosman - 09 Nov 2006 16:07 GMT
aaronfude@gmail.com wrote On 11/08/06 17:08,:
> Hi,
>
> Is it possible to ensure that, upon setVisible(true), a JDialog pop-up
> jumps on top of all other windows including other applications?

   You can "suggest" that behavior (see Andrew Thompson's
response), but obviously you cannot "ensure" it.  Consider:
What happens when two different applications both try to
make their windows do this?

Signature

Eric.Sosman@sun.com

Andrew Thompson - 09 Nov 2006 23:25 GMT
> aaronfude@gmail.com wrote On 11/08/06 17:08,:
> > Hi,
[quoted text clipped - 6 lines]
> What happens when two different applications both try to
> make their windows do this?

I think it should come down to whichever app. has
the biggest bull-bar.

( ..do I even need to add a 'smiley' to that? )

Andrew T.


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.