Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Drag n Drop in Jtree  RSS feed

 
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
 
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!