/*

Animate

*/ import java.awt.*; import java.awt.event.*; import java.applet.*; //&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& public class animate extends Applet implements Runnable, ComponentListener { Thread thread1; Image image1; int width1,height1,dx,dy,delay; int xmax=256,ymax=xmax,frame; int [][]a = new int[xmax][ymax]; int [][]n = new int[xmax][ymax]; //===== Extend Applet: init(), run(), paint(), update() ===== public void init() { int x,y; for (x=0; x