10.24 Graphics Using Swing Components
20. High-level events such as action events are specific to certain widgets and are sent to the
application only if those widgets are present and have registered for the event.
21. Low-level events such as keyboard and mouse events are sent to all the widgets which have
registered to receive them.
22. Action events are generated whenever the user performs any action on the widget like
pressing a button or choosing an item from the menu.
23. To enable us to handle action events, we need to create a class that implements the Action-
Listener interface. The ActionListener interface requires us to implement just one method
actionPerformed(ActionEvent e).
24. Item events are generally fired by components such ...