I've written a number of applets and found this to be a problem on some browsers, so what I suggest may or may not work. In the applet class's init() method write: this.requestFocusInWindow(); If it works the applet will have focus. If your applet uses mnemonics be sure they are different from the mnemonics your browser uses because it is the browser's mnemonics that will be invoked.
Joined: Mar 24, 2004
Well, I tried this.requestFocusInWindow(); but it doesn't help.. You can see for yourselves at: www.elitris.com Enter the page, and see what I mean. You must click the applet, or it doesn't get focus. regards /Anton