Package org.jdesktop.swingx

Examples of org.jdesktop.swingx.JXTree.addMouseListener()


    splitPane.add(WidgetUtils.scrolleable(tree));
    splitPane.add(WidgetUtils.scrolleable(centerPanel));
    splitPane.setDividerLocation(180);
    panel.add(splitPane, BorderLayout.CENTER);

    tree.addMouseListener(new MouseAdapter() {
      @Override
      public void mouseClicked(MouseEvent e) {
        TreePath path = tree.getPathForLocation(e.getX(), e.getY());
        if (path == null) {
          return;
View Full Code Here


            public void violationChanged(Map<VirtualFile, List<Violation>> violations) {
                treeModel.setViolations(violations);
            }
        });
        violationsTree.addMouseListener(new TreeMousePressedListener(violationsTree, displayDescriptionAction));
        localViolationsTree.addMouseListener(new TreeMousePressedListener(localViolationsTree, localDisplayDescriptionAction));


        projectComponent.getSonarCache().addLoadingFileListener(this);
    }
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.