creation: 6/23/99 (using AWT); major revision: 01/06/02 (using Swing)

CHAPTER 57 — Event Listeners

This chapter continues the introduction to Graphical User Interface (GUI) programming. The previous chapter discussed how to extend JFrame to create a GUI application. This chapter shows how to add an event listener to the application.

Chapter Topics:


(Review: ) What are the three parts of a GUI application?

  1. Graphical __________ that make up the Graphical User Interface.
  2. ____________ methods that receive the events and respond to them.
  3. ____________ methods that do useful work for the user.