Package org.graphstream.ui.swingViewer

Examples of org.graphstream.ui.swingViewer.View


    graphStreamBackPanel.setPreferredSize(new Dimension((int)(700*scaling),(int)(450*scaling)));
    graphStreamBackPanel.setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY, 1));
    graphStreamBackPanel.setBackground(Color.WHITE);
   
    Viewer viewer = new Viewer(g,Viewer.ThreadingModel.GRAPH_IN_ANOTHER_THREAD);
    View view = viewer.addDefaultView(false);
    view.setPreferredSize(new Dimension((int)(698*scaling),(int)(440*scaling)));
     
    graphStreamBackPanel.add(view)
    graphStreamPanel.add(graphStreamBackPanel);
   
    //setup basicPanel
View Full Code Here

TOP

Related Classes of org.graphstream.ui.swingViewer.View

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.