provided by: 
Originally published at Internet.comJava Programming, Lecture Notes #1466 * Preface * Preview * Discussion and Sample Programs * Summary * Complete Program Listing -----------------------------------
Preface
Fun programming
This is one of the lessons in a miniseries that will concentrate on having fun while programming in Java.
This miniseries will include a variety of Java programming topics that fall in the category of fun programming. This particular lesson is the ninth in of a group of lessons that will teach you how to write animation programs in Java.
The first lesson in the group was entitled Fun with Java: Sprite Animation, Part 1. That lesson, plus the next seven lessons provided an in-depth explanation of the use of Java for doing both sprite and frame animation. The previous lesson was entitled Fun with Java: Frame Animation.
In this lesson, I will combine sprite animation with frame animation to produce animated sea worms that change their color on a random basis while swimming in a fish tank.
Viewing tip
You may find it useful to open another copy of this lesson in a separate browser window. That will make it easier for you to scroll back and forth among the different figures and listings while you are reading about them...
Read article at Internet.com site