Previous | Next | Trail Map | To 1.1 -- And Beyond! | GUI Changes: The AWT Grows Up


Events Generated by AWT Components

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(in the Creating a User Interface trail)X   X   X   X X X    
Canvas(in the Creating a User Interface trail)    X   X   X X X    
Checkbox(in the Creating a User Interface trail)    X   X X X X X    
CheckboxMenuItem(in the Creating a User Interface trail)
Note: This is not a Component subclass!
*         X          
Choice(in the Creating a User Interface trail)    X   X X X X X    
Component(in the API reference documentation)    X   X   X X X    
Container(in the API reference documentation)    X X X   X X X    
Dialog(in the Creating a User Interface trail)    X X X   X X X   X
Frame(in the Creating a User Interface trail)    X X X   X X X   X
Label(in the Creating a User Interface trail)    X   X   X X X    
List(in the Creating a User Interface trail)X   X   X X X X X    
MenuItem(in the Creating a User Interface trail)
Note: This is not a Component subclass!
X                    
Panel(in the Creating a User Interface trail)    X X X   X X X    
Scrollbar(in the Creating a User Interface trail)  X X   X   X X X    
ScrollPane(in the API reference documentation)    X X X   X X X    
TextArea(in the Creating a User Interface trail)    X   X   X X X X  
TextComponent(in the Creating a User Interface trail)    X   X   X X X X  
TextField(in the Creating a User Interface trail)X   X   X   X X X X  
Window(in the API reference documentation)    X X X   X X X   X
*CheckboxMenuItem inherits addActionListener from MenuItem, but it does not generate action events. [check!]


Previous | Next | Trail Map | To 1.1 -- And Beyond! | GUI Changes: The AWT Grows Up