Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Keyboard focus within Applet

843807Oct 22 2002 — edited Oct 22 2002
I have an applet that can run in a browser or as an application. The applet has a number of components in which the user can enter information (such as a JTextField). When I run the applet as an application outside of a browser the keyboard focus works as expected, focus is in the first JTextField and the tab key will move from one field to the next. When I run the applet from the browser, focus is not in any of the JTextFields and if I position to a JTextField the tab key does not move to the next field. I have tried the requestFocus call from the applet init code and from the components with no luck. Can anyone tell me what is required?

I have tried it on both Netscape 6.x and IE 6.0.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2002
Added on Oct 22 2002
2 comments
158 views