Chapter 23. Rubberbanding

Rubberbanding is an essential tool in the applet developer's toolkit. Rubberbands are useful in a number of different contexts; for instance, one method for selecting multiple items is to stretch a rubberband rectangle around the items to be selected. Drawing programs typically employ rubberbands that enable the users to rubberband the shape they wish to draw before it is actually drawn on screen.

Rubberbanding involves dynamically ...

Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.