Meaningless Drivel is fun!*
The moose likes Applets and the fly likes Jdialog not getting focused in IE9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Jdialog not getting focused in IE9" Watch "Jdialog not getting focused in IE9" New topic
Author

Jdialog not getting focused in IE9

inmank Kar
Greenhorn

Joined: Apr 03, 2012
Posts: 5
I am calling 2 jDialog back to back from a applet. As soon as I select the option from the first dialog and click OK button, the applet window get focused and the second dialog box lost the focus.

The problem occurs only in the IE9, its working fine in IE8, firefox. Please the code snippet.





Can I get some help on this.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Why are you creating the dialogs with a null parent?


luck, db
There are no new questions, but there may be new answers.
inmank Kar
Greenhorn

Joined: Apr 03, 2012
Posts: 5
I hvae also tried with the parent as Panel "final JDialog dialog = optionPane.createDialog(panel, "Select Countries"); " and its still not working
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem. And keep it short. Don't include anything that isn't relevant to the problem.
inmank Kar
Greenhorn

Joined: Apr 03, 2012
Posts: 5
I have the SSCCE ready, how to share it

Updated the SSCCE
inmank Kar
Greenhorn

Joined: Apr 03, 2012
Posts: 5
Any idea on this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jdialog not getting focused in IE9
 
Similar Threads
JDialog- Multiple inputs
JScrollPane and JComboBox, loss of drop down
dateformat in textfield
calling another GUI class
Custom Dialog - please help