Class ExampleUtils.ExampleFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
ClusterAlgorithmComparison.Display, GeometryExample.Display, ImageClusteringExample.Display, IntegerDistributionComparison.Display, LowDiscrepancyGeneratorComparison.Display, RealDistributionComparison.Display
Enclosing class:

public static class ExampleUtils.ExampleFrame extends JFrame
Display frame.
See Also:
  • Constructor Details

    • ExampleFrame

      public ExampleFrame()
      Empty constructor.

      This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

  • Method Details

    • getMainPanel

      public Component getMainPanel()
      Returns the main panel which should be printed by the screenshot action.

      By default, it returns the content pane of this frame, but can be overriden in case the frame has a global scroll pane which would cut off any offscreen content.

      the main panel to print