Class PiApplet

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, PiAWT.StatusIndicator
Direct Known Subclasses:
PiParallelApplet

public class PiApplet extends Applet implements PiAWT.StatusIndicator
Applet for calculating pi using four different algorithms.
Version:
1.10.0
See Also:
  • Field Details

  • Constructor Details

    • PiApplet

      public PiApplet()
      Default constructor.
  • Method Details

    • init

      public void init()
      Initialize this applet.
      Overrides:
      init in class Applet
    • getContents

      protected Container getContents()
      Get the graphical elements of this applet.
      Returns:
      The graphical elements of this applet.
    • destroy

      public void destroy()
      Called when this applet is destroyed.
      Overrides:
      destroy in class Applet
    • getAppletInfo

      public String getAppletInfo()
      Get information about this applet.
      Overrides:
      getAppletInfo in class Applet
      Returns:
      Information about this applet.