Example usage for org.jfree.ui.about AboutFrame AboutFrame

List of usage examples for org.jfree.ui.about AboutFrame AboutFrame

Introduction

In this page you can find the example usage for org.jfree.ui.about AboutFrame AboutFrame.

Prototype

public AboutFrame(final String title, final ProjectInfo project) 

Source Link

Document

Constructs an about frame.

Usage

From source file:org.jfree.chart.demo.JFreeChartDemo.java

/**
 * Displays information about the application.
 *//*  ww  w.ja v a 2  s  .  c o  m*/
private void about() {

    final String title = this.resources.getString("about.title");
    //String versionLabel = this.resources.getString("about.version.label");
    if (this.aboutFrame == null) {
        this.aboutFrame = new AboutFrame(title, JFreeChart.INFO);
        this.aboutFrame.pack();
        RefineryUtilities.centerFrameOnScreen(this.aboutFrame);
    }
    this.aboutFrame.setVisible(true);
    this.aboutFrame.requestFocus();

}