Class HarcletFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class HarcletFrame extends JFrame
See Also:
  • Constructor Details

    • HarcletFrame

      public HarcletFrame(HarcPanel panel, boolean exitOnClose, String lafClassName)
      Creates new form
      Parameters:
      panel -
      exitOnClose -
      lafClassName -
  • Method Details

    • newHarcletFrame

      public static HarcletFrame newHarcletFrame(Component parent, HarcPanel panel, boolean exitOnClose, String lafClassName)
    • main

      public static void main(String[] args)
      Parameters:
      args - the command line arguments
    • run

      public static void run(String className, String[] args)
      Equivalent to run(className, null) if args is empty, otherwise run(className, args[0]).
      Parameters:
      className -
      args -
    • run

      public static void run(String className, String lafName)
      Fires up an instance of the class given as argument.
      Parameters:
      className - Classname to be started. If it does not contain a period (.), "org.harctoolbox.guicomponents." is prepended.
      lafName - Name of requested look-and-feel, or null.