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.
To see exactly how RubberbandTest is laid out in three 3 dimensions, look at Figure 23-3.
RubberbandTest is listed in Example 23-7.