Package org.nanograph.components.opengl

Examples of org.nanograph.components.opengl.SWTOpenGLJOGLNanoGraphPanel


        // Create the actual graphpanel
        Composite body = new Composite(openglshell, SWT.NONE);
        Layout opengllayout = new FillLayout();
        body.setLayout(opengllayout);

        SWTOpenGLJOGLNanoGraphPanel joglpanel = new SWTOpenGLJOGLNanoGraphPanel(body);
        joglpanel.setNanoGraph(gp.getNanoGraph());
        openglshell.setText("SWT/JOGL Nanograph test 3D screen");
        openglshell.setSize(800, 800);
        openglshell.setLocation(display.getMonitors()[0].getClientArea().width - 1000, 0);
        openglshell.open();
        return openglshell;
View Full Code Here


        // Create the actual graphpanel
        Composite body = new Composite(shell, SWT.NONE);
        Layout layout = new FillLayout();
        body.setLayout(layout);
       
        gp = new SWTOpenGLJOGLNanoGraphPanel(body);
        initNanoGraph();
        shell.setText("SWT/JOGL Nanograph test");
        shell.setSize(1024, 768);
        shell.open();
        while (!shell.isDisposed()) {
View Full Code Here

TOP

Related Classes of org.nanograph.components.opengl.SWTOpenGLJOGLNanoGraphPanel

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.