aspose file tools
The moose likes Swing / AWT / SWT and the fly likes draw lines between JTrees Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "draw lines between JTrees" Watch "draw lines between JTrees" New topic
Author

draw lines between JTrees

Manoj kumar A
Greenhorn

Joined: Sep 01, 2003
Posts: 10
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: draw lines between JTrees
 
Similar Threads
Drawing lines in between nodes of two JTrees
JTree and JFreechart in a single window
jtree problem
JCheckBoxes in JTree nodes
JTree node selection