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. Please ask technical questions in the appropriate category. Thank you!

When does requestFocusInWindow() fail

843804Dec 13 2004 — edited Oct 15 2007
Hello,

I'm trying to set the focus on a class derived from JPane() with requestFocusInWindow() and the compoinent never gets the keyboard focus, unless I click on the pane itself. Is there somewhere a good document that explains when requestFocusInWindow() will work and when not.

Thanks in advance

Marc
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2007
Added on Dec 13 2004
11 comments
1,113 views