Class ExampleUtils.ExampleFrame

    • Constructor Detail

      • 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 Detail

      • 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