A good answer might be:

You only have to write the definitions for the three classes:

  1. myFrame
  2. WindowQuitter
  3. GUItester
Everything else is either a class in the AWT that you are using as a base class, or an object that is instantiated at run-time.

Coloring Book

Here is the picture (again):


QUESTION 9:

Mentally color all the boxes:

  • Use blue to color the boxes that represent base classes.
  • Use red to color the boxes that represent run-time objects.
  • Use white to color the boxes that representwhat the programer writes.

Click Here after you have answered the question