The Java(tm) FAQ -- Events -- JDK 1.1

Copyright        Table of Contents        Chapters:   1   2   3   4   5   6   7   8   9   10   11

Outline


Event Classes, Listeners, and Methods


Q7.1
What information do specific event types in the JDK 1.1 carry?

See also: Q7.2, Q7.3


Q7.2
How do I catch events in the JDK 1.1 event model?

EventListener11Example.html

See also: Q1.20, Q7.3


Q7.3
What are the different kinds of event listeners, and what are their methods?

See also: Q6.3, Q7.1, Q7.2, Q7.4


Q7.4
When should I use an event adapter class?

See also: Q7.2, Q7.3


Q7.5
Do events propagate in the JDK 1.1 as they did in the older AWT event model?

PropagateEvent11Example.html

See also: Q6.3, Q7.2, Q7.3


Q7.6
Will my code written for the older JDK 1.0.2 event model still run in the JDK 1.1?

See also: Q6.3, Q6.4


SEMANTIC EVENTS


Q7.7
How do I handle action events in the JDK 1.1?

ActionEvent11Example.html

See also: Q6.5, Q7.2, Q7.3


Q7.8
How do I catch menu item events in the 1.1 AWT event model?

MenuItemEvent11Example.html

See also: Q6.8, Q7.7


Q7.9
In the JDK 1.1 AWT event model, how is my program notified when a list item is selected or deselected?

ListEvent11Example.html

See also: Q6.9, Q7.7


Q7.10
How do I control scrolling in the 1.1 AWT?

ScrollPane11Example.html

See also: Q6.10


LOW-LEVEL EVENTS


Q7.11
My frame doesn't close when I click on Quit/Close in the main menu -- how do I fix this using the JDK 1.1?

See also: Q6.7


Q7.12
Is there an event type that signals when a window is resized?

WindowResizeEvent11Example.html

See also: Q7.11


Q7.13
How do I handle events for function keys, arrow keys, and so on in the JDK 1.1 event model?

ActionKey11Example.html

See also: Q6.6


Q7.14
How does the JDK 1.1 distinguish between mouse clicks made with different buttons on a two- or three-button mouse?

MultiButtonMouse11Example.html

See also: Q6.11