Apply Your Knowledge

Review Questions

1:What is the difference between the JDK 1.02 event model and the event-delegation model that was introduced with JDK 1.1?
2:What is the highest-level event class of the event-delegation model?
3:Which interface does AWT event listeners extend?
4:What class is the top of the AWT event hierarchy?
5:What event results from the clicking of a button?
6:What is the relationship between an event-listener interface and an event-adapter class?
7:In which package are most of the AWT events that support the event-delegation model defined?
8:How can a GUI component handle its own events?
9:What is the advantage of the event-delegation model over the earlier event-inheritance model?
10:What is the purpose of the enableEvents() ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.