org.jfree.ui.about

Class AboutDialog


public class AboutDialog
extends JDialog

A dialog 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

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

AboutDialog

public AboutDialog(Dialog owner,
                   String title,
                   ProjectInfo 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

AboutDialog

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