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!

Disable Tab key problem

796764Aug 4 2009
I don't want to lose focus on the applet when the user presses TAB key. I use this code:

setFocusTraversalKeysEnabled(false);

When I test it on my computer, it works fine for both FF and IE. However, when I load it in another machine, it only works for FF. Both machines use IE 7. Anyone knows how to fix this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 1 2009
Added on Aug 4 2009
0 comments
201 views