Class AboutFrame

    • Field Detail

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

      • AboutFrame

        public AboutFrame​(String title,
                          ProjectInfo project)
        Constructs an about frame.
        Parameters:
        title - the frame title.
        project - information about the project.
      • AboutFrame

        public AboutFrame​(String title,
                          String application,
                          String version,
                          String info,
                          Image logo,
                          String copyright,
                          String licence,
                          List contributors,
                          ProjectInfo project)
        Constructs an 'About' frame.
        Parameters:
        title - the frame title.
        application - the application name.
        version - the version.
        info - other info.
        logo - an optional logo.
        copyright - the copyright notice.
        licence - the licence.
        contributors - a list of developers/contributors.
        project - info about the project.
    • Method Detail

      • getPreferredSize

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