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:
ExampleUtils

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.

      Since:
      3.0
  • 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.

      Returns:
      the main panel to print