Package org.graphstream.ui.swingViewer

Examples of org.graphstream.ui.swingViewer.Viewer.addDefaultView()


    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);
   
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.