Roses:
Java Essentials
, Chapter 6, P6.21.
Applet Source Code