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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

Processing
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,225 views