• Post Reply Bookmark Topic Watch Topic
  • New Topic

Action firing by enter key  RSS feed

 
ujar abc
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

is there any idea to make focus component(button/radiobutton/checkbox/etc) fires there respective action method in java when enter is pressed.
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Invoke doClick on the components.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!