Java, Java, Java 3E

Chapter 4 Input/Output: Designing the User Interface

Ch 4 Lab: Three Stooges

Authors: Ralph Morelli & Bronzell Dinkins
Trinity College, Hartford, CT
For use with Chapter 4 Click here to go to the lab writeup writeup.html

Brief Description

This is a lab that is suitable for Chapter 4. It requires the creation of a simple applet interface involving three Button components. Its emphasizes the use of inheritance and polymorphism in creating a subclass of the java.applet.Applet class that implements the ActionListener interface.

Objectives

The objectives of this lab are:

Here's what your solution should look like.


The Three Stooges