• Post Reply Bookmark Topic Watch Topic
  • New Topic

ActionEvent doubt

 
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: 3952
21
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
Marshal
Posts: 52581
119
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!