This applet is from the book
Core Java
by
Cay Horstmann
and
Gary Cornell
, published by Sun Microsystems Press.
The source.