Package fbench.graph

Examples of fbench.graph.GraphViewTransfer


   
    //TreeView
    LibraryTreeNode libraryRoot = new LibraryTreeNode(new File("src"), null);
  libraryTree = new JTree(libraryRoot);
  gvhandler = new GraphViewTransfer(libraryTree);
  libraryTree.setCellRenderer(libraryRoot);
  libraryTree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
  libraryTree.setDragEnabled(true);
  //  mouse listener for opening documents from the tree
  libraryTree.addMouseListener(new MouseAdapter() {
View Full Code Here


  }

  public void createViewFrame() {
    LibraryTreeNode libraryRoot = new LibraryTreeNode(new File("src"), null);
    final JTree libraryTree = new JTree(libraryRoot);
    gvhandler = new GraphViewTransfer(libraryTree);
    libraryTree.setCellRenderer(libraryRoot);
    libraryTree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
    libraryTree.setDragEnabled(true);
    libraryTree.addMouseListener(new MouseAdapter() {
      public void mouseClicked(MouseEvent e) {
View Full Code Here

TOP

Related Classes of fbench.graph.GraphViewTransfer

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.