Chapter 10. Adding Images, Animation, and Sound
The first exposure to Java for many people was the sight of animated text or moving images on a Web page. These kinds of animation are simple, requiring only a few methods to implement in Java, but those methods are the basis for any applet that requires dynamic updates to the screen. Starting with simple animation is a good way to build up to more complicated applets.
Animation in Java is accomplished by using interrelated parts of the Abstract Windowing Toolkit (AWT). Today, you learn how the various parts of Java work together so that you can create moving figures and dynamically updated applets.
Creating animation is fun and easy to do in Java, but there's only so much you can do with the built-in ...