Package org.shiftone.jrat.util.swing.popup

Examples of org.shiftone.jrat.util.swing.popup.TreePopupMouseAdaptor


    //
    JPopupMenu popupMenu = new JPopupMenu();
    popupMenu.add(statView);
    popupMenu.add(spawnRoot);
    popupMenu.add(touchGraph);
    TreePopupMouseAdaptor treePopupMouseAdaptor = new TreePopupMouseAdaptor(popupMenu, tree);
    tree.addMouseListener(treePopupMouseAdaptor);
    statView.addActionListener(new StatsViewAction(treePopupMouseAdaptor, view));
    spawnRoot.addActionListener(new SpawnRootAction(treePopupMouseAdaptor, view));
    touchGraph.addActionListener(new TouchGraphAction(treePopupMouseAdaptor));
  }
View Full Code Here

TOP

Related Classes of org.shiftone.jrat.util.swing.popup.TreePopupMouseAdaptor

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.