001package apps.gui3.paned;
002
003import jmri.Application;
004import jmri.util.swing.multipane.MultiPaneWindow;
005
006/**
007 * The JMRI application for developing the 3rd GUI.
008 * <hr>
009 * This file is part of JMRI.
010 * <p>
011 * JMRI is free software; you can redistribute it and/or modify it under the
012 * terms of version 2 of the GNU General Public License as published by the Free
013 * Software Foundation. See the "COPYING" file for a copy of this license.
014 * <p>
015 * JMRI is distributed in the hope that it will be useful, but WITHOUT ANY
016 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
017 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
018 *
019 * @author Bob Jacobsen Copyright 2003, 2004, 2007, 2009, 2010
020 */
021public class Paned extends apps.gui3.Apps3 {
022
023    public Paned(String[] args) {
024        super("JMRI GUI3 Demo", null, args);
025        this.start();
026    }
027
028    @Override
029    protected void createMainFrame() {
030        // create and populate main window
031        mainFrame = new MultiPaneWindow(Application.getApplicationName(),
032                "xml/config/apps/demo/Gui3LeftTree.xml",
033                "xml/config/apps/demo/Gui3Menus.xml",
034                "xml/config/apps/demo/Gui3MainToolBar.xml");
035    }
036
037    // Main entry point
038    public static void main(String args[]) {
039        new Paned(args);
040    }
041
042}