A good answer might be:
You only have to write the definitions for the three classes:
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.
Here is the picture (again):
Mentally color all the boxes:
- Use blue to color the boxes that represent base classes.
- Use red to color the boxes that represent objects created at run-time.
- Use white to color the boxes that represent what the programer writes.