creation: 3/24/99 (using AWT), major revision: 01/06/02 (using Swing)

CHAPTER 56 — Swing Frames

Most GUI programs are created by extending the class JFrame. The JFrame class holds the basic GUI functionality; your extentions add to this just the functions needed for your application. This chapter introduces these ideas.

Chapter Topics:

It may be helpful at times to refer back to the class hierarchy diagrams of the previous chapter.

QUESTION 1:

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

  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.