O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Example 23-7. RubberbandTest Application

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required