org.jfree.report.modules.gui.swing.preview.about

Class AboutDialog

public class AboutDialog extends JDialog

A dialog 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
AboutDialog(String title, ProjectInformation project)
Constructs an about frame.
AboutDialog(Frame owner, String title, ProjectInformation project)
Creates a non-modal dialog without a title with the specifed Frame as its owner.
AboutDialog(Dialog owner, String title, ProjectInformation project)
Creates a non-modal dialog without a title with the specifed Dialog as its owner.
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

AboutDialog

public AboutDialog(String title, ProjectInformation project)
Constructs an about frame.

Parameters: title the frame title. project information about the project.

AboutDialog

public AboutDialog(Frame owner, String title, 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, 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 Detail

getPreferredSize

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

Returns: the preferred size.