• Post Reply Bookmark Topic Watch Topic
  • New Topic

ActionEvent doubt  RSS feed

 
pankaj goswami
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friends

I have doubt about Action Event. I am unable to understand that when this event will occur?Is this generate only when button pressed or it fired by other reasons also. Please clear my this doubt in simple way.

Thank you in advance.
 
Vijitha Kumara
Bartender
Posts: 3972
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a semantic event generated by a component (like Button) when that component-specific action occurs. The event is passed to every ActionListener object that registered to receive such events from that component. Check the API.
 
Campbell Ritchie
Sheriff
Posts: 53720
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start by having a look through the Java™ Tutorials.

I think this thread would sit better on the Swing forum. Moving.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!