What is an ActionEvent?
- An action event is a semantic event which indicates that a component-defined action occurred.
- The ActionListener interface gets this ActionEvent when the event occurs.
- Event like Button pressed is an action event.
- It is defined in 'java.awt.event' package.
- This event is generated when the button is clicked or the item of a list is double clicked.
Declaration of ActionEvent:
public class ActionEvent
extends AWTEvent