FileDocCategorySizeDatePackage
Applet3.javaAPI DocExample2824Mon Apr 06 18:10:22 BST 1998None

Applet3

public class Applet3 extends Applet

Fields Summary
String
s
int
inits
int
starts
int
stops
Constructors Summary
Methods Summary
public voidinit()

      inits++; 
public voidpaint(java.awt.Graphics g)

    s = "inits: " + inits + 
      ", starts: " + starts +
      ", stops: " + stops;
    g.drawString(s, 10, 10);
  
public voidstart()

 starts++; 
public voidstop()

 stops++;