import java.awt.*;
import java.applet.Applet;

public class StaticBug extends Applet {

  public void init() { 
    setLayout(new BorderLayout());

    TextField tf = new TextField();
    add("Center", tf);

    try {
      Class.forName("MyStaticDriver");
    } catch (ClassNotFoundException e) {
      System.out.println("Could not find MyStaticDriver class");
    }

    String count = "Count Should Be 1 Except for IE/Windows. It is actually " + 
              (new Integer(MyStaticDriverManager.getRegisterCount())).toString();
    tf.setText(count);

  }

}