Java Reference
In-Depth Information
Event handling
It shows the change in state of a source.
Event sources
It is an object generating an event.
Public void add TypeListener (TypeListner l)
For example
Addkeylistner ( ) - to register a keyboard event.
Addmousemotionlistner ( ) - to register a mouse motion listener.
Action Event Class
This happens when button is pressed. Double clicking of the item or any item in the menu
is selected.
Search WWH ::

Custom Search