Package diva.gui

Examples of diva.gui.AppContext


     * Construct a new instance of graph demo, which does the work of
     * setting up the graphs and displaying itself.
     * @param argv Command line arguments, currently ignored.
     */
    public static void main(String[] argv) {
        AppContext context = new BasicFrame("Basic Graph Demo");
        new BasicGraphDemo(context);
    }
View Full Code Here


public class SimpleTutorial {
    /**
     * Pop up an empty graph editing window.
     */
    public static void main(String[] argv) {
        final AppContext context = new BasicFrame("Simple Tutorial");
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new SimpleTutorial(context);
                context.setVisible(true);
            }
        });
    }
View Full Code Here

    /**
     * Pop up an empty graph editing window.
     */
    public static void main(String[] argv) {
        final AppContext context = new BasicFrame("Editor Tutorial");
        context.setSize(800, 600);

        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new EditorTutorial(context);
                context.setVisible(true);
            }
        });
    }
View Full Code Here

* @version $Id: PrepopulatedTutorial.java,v 1.19 2005/07/08 19:55:08 cxh Exp $
* @Pt.AcceptedRating Red
*/
public class PrepopulatedTutorial {
    public static void main(String[] argv) {
        final AppContext context = new BasicFrame("Prepopulated Tutorial");
        context.setSize(300, 600);

        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new PrepopulatedTutorial(context);
                context.setVisible(true);
            }
        });
    }
View Full Code Here

* @version $Id: NestedTutorial.java,v 1.18 2005/07/08 19:55:08 cxh Exp $
* @Pt.AcceptedRating Red
*/
public class NestedTutorial {
    public static void main(String[] argv) {
        final AppContext context = new BasicFrame("Nested Tutorial");
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new NestedTutorial(context);
                context.setVisible(true);
            }
        });
    }
View Full Code Here

    /**
     * Instantiate a new tutorial window and
     * display it.
     */
    public static void main(String[] argv) {
        final AppContext context = new BasicFrame("Node Renderer Tutorial");
        context.setSize(800, 600);

        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new NodeRendererTutorial(context);
                context.setVisible(true);
            }
        });
    }
View Full Code Here

    /**
     * Construct a new instance of the Tutorial, running in a new
     * application context.
     */
    public static void main(String[] argv) {
        AppContext context = new ApplicationContext();
        new ApplicationTutorial(context);
    }
View Full Code Here

    /**
     * Construct a new instance of the Tutorial, running in a new
     * application context.
     */
    public static void main(String[] argv) {
        AppContext context = new ApplicationContext();

        // This is an MDI application that uses a desktop context.
        new MDIApplicationTutorial(new DesktopContext(context));
    }
View Full Code Here

TOP

Related Classes of diva.gui.AppContext

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.