Posted by adaptives
on June 30, 2008 at 7:05 AM PDT
I have focus related issue in an Applet (using the new Applet Plugin with JRE update N build 25).
This Applet opens a JDialog, which on a certain Event, pops up a JWindow.
When I run this Applet in IE7, the JWindow loses focus as soon as it comes up. The opposite window to which it has lost focus is the Applet Plugin (sun.plugin2.main.client.PluginEmbeddedFrame).
I have attached a WindowListener to the JWindow, such that it hides the JWindow when focus is lost. Due to this, the window shows up and gets hidden immediately because it has lost focus.
The Applet works perfectly fine in Firefox 3.
Does anyone have a clue why the Applet Plugin is forcibly taking the focus from the JWindow in IE? Any help is appreciated.
Thanks & Regards