Designing the Classes

As described in the previous chapter, the major steps in object-oriented design are:

Identify the basic classes

Assign attributes and behavior

Find the relationships between the classes

Arrange the classes into hierarchies

The following sections describe how these steps apply to the windowing package, but the sections don't have an exact one-to-one correspondence with the steps listed above. That's because the steps are all interrelated, so that more than one step is performed at the same time, and they're performed iteratively, so that some steps are performed more than once.