I need to make only leaves of a JTree draggable but the following code snippets makes every node in the tree draggable:
tree.setDragEnabled(true);
How can I restrict the draggable element to specific informationen of a tree node like the property myNode.isLeaf();
tia jaster