creation: 6/23/99; revisions: 01/26/00

CHAPTER 56 --- Event Listeners

This chapter continues the introduction to Graphical User Interface (GUI) programming. The previous chapter discussed how to use inheritance to define your own Frame. This chapter discusses how to add an event listener so that a program will respond to a mouse click on the "close button."

Chapter Topics:

  • The three parts of a GUI.
  • Event listeners.
  • The WindowAdapter class.
  • Registering an event listener.

QUESTION 1:

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

Click Here after you have answered the question