created: 3/24/99 (using AWT); major revision: 01/08/02 (using Swing); revised: 02/07/04, 02/13/05, 07/17/06; refurbished: 11/01/08
This chapter discusses how to add a JButton
to a frame and how to register a
listener for its events.
actionPerformed()
method(Review: ) What is the name of the Swing class that defines buttons?