You may also need to request focus to the applet itself in the HTML page, using 
JavaScript. I haven't tried it myself, but it should work. Let me know how it 
goes.

On Dec 14, 2010, at 8:55 AM, Felix Eckhardt wrote:

> How do I request focus for my applet after a page load, which is inside a 
> html page. The applet should be the first item which receives the focus after 
> a page reload.
>  
> I tried requestFocus() on my components inside my applet (even with a timer 
> delayed), but I always have to click on the applet with my mouse to gain 
> focus and be able to start typing in a TextInput.
>  
> What I am doing wrong? Thank you for your help!
>  
> Greetings
> Felix

Reply via email to