Solved

Modal Dialogs and Applets - Force dialogs to always be in front of browser

Posted on 2004-04-29
3
249 Views
Last Modified: 2012-06-21
Hi

I have an applet that runs in a browser and it opens up modal dialogs. Sometimes, when my browser is open and I switch to another application (say Outlook) and back to my browser, any open modal java dialogs always show up behind the browser and thus, gives the illusion that the browser has frozen up

How can I always force my modal dialogs to always be in front of the applet, even when I switch to another application and back to the browser?

Any help will be greatly appreciated as this is a huge bottleneck
Thanks
0
Comment
Question by:lakinm1
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 250 total points
ID: 10958764
Do you use JOptionPane or the Dialog class for the dialog-boxes? The Dialog class has a setModal ( boolean ) method which can be used to disable the modal behaviour of the dialog-box.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10958795
If its a JOptionPane, it will always be modal.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question