You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com
Hello, I would like to know how it's possible to make a JTextField lose focus when I press ENTER (the ACT event). I looked through the documentation but there is no such option. It doesn't work with dispatching FOCUS_LOST or transferFocus (it passes it to next textfield instead).
Thank you in advance.
Zdravko Beykov
unread,
Feb 19, 2013, 10:09:13 AM2/19/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com
Solved it, not too elegantly - I set the parent panel or another button that is child of the panel with .requestFocus();