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

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
lakinm1Asked:
Who is Participating?
 
Mayank SConnect With a Mentor Associate Director - Product EngineeringCommented:
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
 
Mayank SAssociate Director - Product EngineeringCommented:
If its a JOptionPane, it will always be modal.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.