Package pdfdb.gui.panels

Examples of pdfdb.gui.panels.MainPanel


    /** Initializes the frame.
     * @param connected Whether to connect to the data pipeline.
     * @throws java.sql.SQLException If an error occured. */
    private void init(boolean connected) throws SQLException
    {
        this.panel = new MainPanel(connected);
        this.initSize();
        super.setLayout(new BorderLayout());
        super.add(this.panel, BorderLayout.CENTER);
        super.setTitle("ADRS");
        super.addWindowListener(EventController.getWindowListener());
View Full Code Here


     * @param source The source of the event. */
    private static void search(Object source)
    {
        JComponent comp = (JComponent) source;
        Component mPanel = Hierarchy.findDirectAncestor(MainPanel.class, comp);
        MainPanel panel = (MainPanel) mPanel;
        panel.addSearchTab(panel.getSearchString(), true);
    }
View Full Code Here

    /** Opens a PDF.
     * @param source The source of the event. */
    private static void openPdf(Object source)
    {
        JComponent comp = (JComponent) source;
        MainPanel mp1 = (MainPanel) Hierarchy.findDirectAncestor(MainPanel.class,
                comp);
        FileTable table = mp1.getTableForTab(mp1.getSelectedTab());
        IndexableFile f = table.getFile(table.getSelectedRow());
        if (f != null)
        {
            HelperApplicationAccess appAccess = HelperApplicationAccess.
                    getInstance();
View Full Code Here

TOP

Related Classes of pdfdb.gui.panels.MainPanel

Copyright © 2018 www.massapicom. 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.