Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Drag N drop in JTree  RSS feed

 
Savvy Makol
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the problem of creating a JTree and then add he functionality of dragging a node and adding it to other node by dropping it on the other node.Its the same funtionality as we see in windows explorer also.Kindly help how to implement this.
 
Charles Hasegawa
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a good place to start :
http://www.javaworld.com/javaworld/jw-03-1999/jw-03-dragndrop.html
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's one explicitly about DnD in JTrees; I learned how to do it from this article.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!