Skip to Main Content

New to Java

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!

JTextField in a JPopupMenu

843789Jun 10 2009 — edited Jun 11 2009
I am trying to put a JTextField into a JPopupMenu. The JTextField is unable to gain focus even after calling grabFocus()/requestFocus(). From searching, it seems there is a glitch that each keep on trying to grab the focus from each other. However, I could not find any solution to the problem. Any advice would be helpful.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2009
Added on Jun 10 2009
6 comments
2,904 views