org.jfree.ui.about

Class AboutFrame


public class AboutFrame
extends JFrame

A frame that displays information about the demonstration application.
Author:
David Gilbert

Field Summary

static Dimension
PREFERRED_SIZE
The preferred size for the frame.
static Border
STANDARD_BORDER
The default border for the panels in the tabbed pane.

Constructor Summary

AboutFrame(String title, String application, String version, String info, Image logo, String copyright, String licence, List contributors, ProjectInfo project)
Constructs an 'About' frame.
AboutFrame(String title, ProjectInfo project)
Constructs an about frame.

Method Summary

Dimension
getPreferredSize()
Returns the preferred size for the about frame.

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

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.

AboutFrame

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

Method Details

getPreferredSize

public Dimension getPreferredSize()
Returns the preferred size for the about frame.
Returns:
the preferred size.