Defines two types of event handling in java
Answers
Answered by
0
1.ActionEvent: This is the ActionEvent class extends from the AWTEvent class. It indicates the component-defined events occurred i.e. the event generated by the component like Button, Checkboxes etc. The generated event is passed to every EventListener objects that receives such types of events using theaddActionListener() method of the object.
2. AdjustmentEvent: This is the AdjustmentEvent class extends from the AWTEvent class. When the Adjustable Value is changed then the event is generated.
2. AdjustmentEvent: This is the AdjustmentEvent class extends from the AWTEvent class. When the Adjustable Value is changed then the event is generated.
Answered by
0
action event
mouse event
mouse wheel event
key event
item event
text event
adjustment event
window event
component event
container event
focus event
mouse event
mouse wheel event
key event
item event
text event
adjustment event
window event
component event
container event
focus event
Similar questions