Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-04-29
3
Medium Priority
?
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 750 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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
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 …
Progress

636 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