Set up the rotation transform
Listing 6
begins by
instantiating a new object of the
AffineTransform
class.
Then it calls the
rotate
method on the transform object
to configure that object
for use in rotating the image of the butterfly.
File: bf.htm
[Next]
[Prev]