Using drag-and-drop and trees, how can you select a subtree and drop it on another container? What do you use for transferable?

Davanum Srinivas

JavaWorld has an excellent article on Adding Drag and Drop to JTrees:

http://www.javaworld.com/javaworld/javatips/jw-javatip97.html

The article has a sample class that implements Transferable interface for your reference.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact