/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pdfdb.gui.frames;
import java.awt.*;
import pdfdb.gui.panels.AboutPane;
/** The about frame.
* @author ug22cmg */
public class AboutFrame extends AppDialog
{
/** Initializes with the main frame parent. */
public AboutFrame()
{
super(MainFrame.getMainFrame());
}
/** Initializes the GUI components. */
@Override
protected void initializeComponents()
{
super.setLayout(new BorderLayout());
super.add(new AboutPane(), BorderLayout.CENTER);
setSize(new Dimension(630, 400));
setPreferredSize(new Dimension(400, 260));
setResizable(false);
setTitle("About");
}
/** For testing.
* @param args Not used.*/
public static void main(String[] args)
{
new AboutFrame().setVisible(true);
}
}