The java.awt.event package contains many event classes which can be used for event handling. Root class for all the event classes in Java is EventObject which is available in java.util package. Root class for all AWT event classes is AWTEvent which is available in java.awt package and is a sub class of EventObject class. Some of the frequently used event classes available in java.awt.eventpackage are listed below: Various constructors and methods available in the above listed event classes are as follows: ActionEvent An action event is generated when a button is clicked, or a list item is double-clicked, or a menu item is selected. ActionEvent class contains the following
The post what are the different types of Events in AWT appeared first on Coding Security.
what are the different types of Events in AWT
read more
Tidak ada komentar:
Posting Komentar