Package pdfdb.gui.frames

Source Code of pdfdb.gui.frames.AboutFrame

/*
* 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);
    }
}
TOP

Related Classes of pdfdb.gui.frames.AboutFrame

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.