This week's giveaway is in the
We're giving away four copies of
video training course and have Ken Kousen on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Java in General
Action firing by enter key
Joined: Jun 10, 2010
Sep 07, 2010 05:20:06
is there any idea to make focus component(button/radiobutton/checkbox/etc) fires there respective action method in
when enter is pressed.
Joined: Oct 25, 2008
Sep 07, 2010 05:57:17
Invoke doClick on the components.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
I agree. Here's the link:
subject: Action firing by enter key
TextArea and ActionEvent
ActionEvent for Textfield
Controlling Enter Key-Triggered Submit Behavior
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015