Basic HTML version of Foils prepared 18 May 97

Foil 12 Sun's Animator.class Applet

From Java Tutorial - Spring 1997 Part 3:Graphics and the Abstract Windowing Toolkit Peking Tutorial, Web Certificate -- Spring-Summer 1997. by Nancy J. McCracken,Geoffrey C. Fox


Sun distributes a general purpose Animation applet with the Java Development Kit
Advantages:
  • 1. quick: users don't have to write their own program in order to get interesting animation effects.
  • 2. flexibility: user can assign the directory and the file name for the image frame and sound files by using imagesource, soundsource, soundtrack, and sound parameters in applet tag.
Disadvantages:
  • 1. Image blinking: This applet fails to use double buffering and one can see serious blinking on screen.
  • 2. Separating the frames into different files makes it easy to program but will slow down the image loading process.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Jan 8 1998