Exercising the Rubberband Classes
Figure 23-2 shows the DrawingPanel class in action. As usual, feel free to run the test application by invoking appletviewer on the RubberbandTest.html file provided on the CD. Doing so should help you to better understand the discussion of the application.
Figure 23-2. DrawingPanel Test Application
To see exactly how RubberbandTest is laid out in three 3 dimensions, look at Figure 23-3.
Figure 23-3. RubberbandTest Layout Diagram
RubberbandTest is listed in Example 23-7.