Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jdialog not getting focused in IE9

 
inmank Kar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you creating the dialogs with a null parent?
 
inmank Kar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the SSCCE ready, how to share it

Updated the SSCCE
 
inmank Kar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea on this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic