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

draw lines between JTrees  RSS feed

 
Manoj kumar A
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
In my application i have two JTrees put in a JScrollPane , one on the left hand side, and one on the right. I need to connect the nodes by drawing lines with the mouse. Suppose i click on any node of left JTree and the drag towards any node on the right Jtree. A line should be drawn showing the two nodes connected. Also later on i should be able to delete any of them (drawn lines) say by clicking any line and then clicking a delete button.
Thanks,
manoj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!