aspose file tools*
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
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: 4664
    
    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: 4664
    
    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