Package org.nanograph.components.swing

Examples of org.nanograph.components.swing.SwingNanoGraphPanel


    private LayoutAlgorithm fd = null;
    private Collection currentSelection = null;

    public SwingNanoGraphTest() {
        gp = new SwingNanoGraphPanel();

        initNanoGraph();

        JFrame f = new JFrame("NanoGraph Test");
         f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
View Full Code Here


  SwingNanoGraphPanel p = null;
 
  public void init() {
     
    DefaultGraphModel g = new DefaultGraphModel();
    p = new SwingNanoGraphPanel();
    p.setBorder(new LineBorder(Color.darkGray, 1, true));
    p.addMouseListener(new MouseAdapter(){
     
      public void mouseClicked(MouseEvent e)
      {
View Full Code Here

TOP

Related Classes of org.nanograph.components.swing.SwingNanoGraphPanel

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.