• Post Reply Bookmark Topic Watch Topic
  • New Topic

Drag n Drop in Jtree

 
Savitha Mandarath
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to drag a node from a JTree in one panel to another JTree in the adjacent panel.I also want to give color to the text of the node.Can some one help me with the code.
 
shansi raj
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have a look at this site

http://www.java2s.com/Code/Java/Swing-JFC/DnDdraganddropJTreecode.htm
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!