Basic HTML version of Foils prepared May 12 1996

Foil 97 Sun's Animator.class Applet

From CRPC Lectures on Java Language Applets Graphics CRPC Annual Meeting Tutorial -- May 14,1996. by 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.
Disadvantage:
  • 1. Image blinking: This applet fail 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 Sun Dec 14 1997