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

public class AboutDialog extends JDialog
A dialog that displays information about the demonstration application.
Author:
David Gilbert
See Also:
  • Field Details

    • PREFERRED_SIZE

      public static final Dimension PREFERRED_SIZE
      The preferred size for the frame.
    • STANDARD_BORDER

      public static final Border STANDARD_BORDER
      The default border for the panels in the tabbed pane.
  • Constructor Details

    • AboutDialog

      public AboutDialog(String title, org.pentaho.reporting.libraries.base.versioning.ProjectInformation project)
      Constructs an about frame.
      Parameters:
      title - the frame title.
      project - information about the project.
    • AboutDialog

      public AboutDialog(Frame owner, String title, org.pentaho.reporting.libraries.base.versioning.ProjectInformation project)
      Creates a non-modal dialog without a title with the specifed Frame as its owner.
      Parameters:
      owner - the Frame from which the dialog is displayed
    • AboutDialog

      public AboutDialog(Dialog owner, String title, org.pentaho.reporting.libraries.base.versioning.ProjectInformation project)
      Creates a non-modal dialog without a title with the specifed Dialog as its owner.
      Parameters:
      owner - the Dialog from which the dialog is displayed
  • Method Details

    • getPreferredSize

      public Dimension getPreferredSize()
      Returns the preferred size for the about frame.
      Overrides:
      getPreferredSize in class Container
      Returns:
      the preferred size.