050222 Where is Class?

xiaoxiao2021-03-06  41

See animator.java source code

Import java.awt. *;

Import java.awt.event. *;

IMPORT JAVA.Applet.applet;

Import java.applet.audioclip;

Import java.util.vector;

Import java.util.hashtable;

Import java.util.enumeration;

Import java.net.URL;

Import java.net.malformedurlexception;

Import java.util.list;

Import java.util.arraylist;

Import java.util.iterator;

// Check these java.util et al. In Tools.jar inside C: /J2SDK1.4.2_04/lib. // Use the JAR tool to see the Class inside.

Also see

Public class Animator Extends Applet Implements Runnable, MouseListener {

INT AppWidth = 0; // Animator Width

Int Appheight = 0; // Animator Height

Thread Engine = Null; // Thread Animating the images

Boolean Userpause = false; // true if thread currently paused by user

Boolean loaded = false; // can we point yet?

Boolean error = false; // Was there is an inTIALIZATION ERROR?

Animation Animation = null; // Animation this Animator Contains

String hreftarget = null; // frame target of reason url if Any

URL HREFURL = NULL; // URL LINK for Information IF ANY

Static final string source =

"

http://java.sun.com/applets/applets/animator/;

Static Final String Userinstructions = "Shift-Click for ErrorS, Info";

Static final int startup_id = 0;

Static final INT background_id = 1;

Static final intiimation_id = 2;

// This is the class of Animator Extends Applet, and 2 subclass: runnable and mouselistener // are some Primitive Members of INITIRIZE.

转载请注明原文地址:https://www.9cbs.com/read-55378.html

New Post(0)