Package sim.display

Class SimApplet

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SimApplet extends Applet
A simple class for creating Applets out of your simulations. Due to security restrictions, certain things will not work, such as reading files (loading models) or writing files (producing movies etc.).

You can check to see if you're running under an applet by testing the value of SimApplet.isApplet

See Also:
  • Constructor Details

    • SimApplet

      public SimApplet()
  • Method Details

    • isApplet

      public static boolean isApplet()
    • init

      public void init()
      Overrides:
      init in class Applet