GUI Changes: The AWT Grows Up |
This table lists the kinds of events that each 1.1 AWT component can generate. To see a table listing all the listener and adapter types, along with the methods they contain, see Handling Standard AWT Events.
*
AWT Component Types of Events It Can Generate action adjustment component container focus item key mouse mouse motion text window Button
X X X X X X Canvas
X X X X X Checkbox
X X X X X X CheckboxMenuItem
Note: This is not aComponent
subclass!* X Choice
X X X X X X Component
X X X X X Container
X X X X X X Dialog
X X X X X X X Frame
X X X X X X X Label
X X X X X List
X X X X X X X MenuItem
Note: This is not aComponent
subclass!X Panel
X X X X X X Scrollbar
X X X X X X ScrollPane
X X X X X X TextArea
X X X X X X TextComponent
X X X X X X TextField
X X X X X X X Window
X X X X X X X CheckboxMenuItem
inheritsaddActionListener
fromMenuItem
, but it does not generate action events. [check!]
GUI Changes: The AWT Grows Up |