Want to add Drag and Drop to JTree node


I want to add a event to JTree's node, drag any nodes in the Jtree and drop it to the place I want, When I drop it, a detailed dialog relative to the node will pop up, in order to display some detailed information about the node I clicked. My question is How can I implement this function by using drag and drop in swing.




Please sign in to leave a comment.