Class PiGUI

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

public class PiGUI extends Frame implements PiAWT.StatusIndicator
AWT client application for calculating pi using four different algorithms.
Version:
1.9.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • statusLabel

      private Label statusLabel
  • Constructor Details

    • PiGUI

      protected PiGUI()
      Default constructor.
  • Method Details

    • showStatus

      public void showStatus(String status)
      Description copied from interface: PiAWT.StatusIndicator
      Show the specified error status.
      Specified by:
      showStatus in interface PiAWT.StatusIndicator
      Parameters:
      status - The status.
    • getContents

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

      public static void main(String[] args)
      Command-line entry point.
      Parameters:
      args - Command-line parameters.