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 DimensionPREFERRED_SIZE
The preferred size for the frame.
static BorderSTANDARD_BORDER
The default border for the panels in the tabbed pane.
Constructor Summary
AboutFrame(String title, ProjectInfo project)
Constructs an about frame.
AboutFrame(String title, String application, String version, String info, Image logo, String copyright, String licence, List contributors, ProjectInfo project)
Constructs an 'About' frame.
Method Summary
DimensiongetPreferredSize()
Returns the preferred size for the about frame.

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.

Returns: the preferred size.