Applet Focus Problem
843807Oct 1 2002 — edited Oct 1 2002Hi,
I am facing a strange problem. I am having a applet in IE. This applet has a couple of internal frames. The problem is that when I display a Error Dialog through JOptionPane.showMessageDialog() and click on the OK button the focus goes to the IE window instead of being in the applet. So to bring the focus back to the applet I have to click once inside the applet area or type the TAB key.
How do I make sure that the applet keeps the focus to itself.
Thanks in advance,
Ganesh