How to: draw line between 2 nodes of 2 trees
I have 2 JTree on 2 JScrollPane. Now I need to draw a line from one selected node in the right tree to one in the left tree with the same name (node's name).
I do not know how to draw line between 2 components like that. Could you give me some advices?
I saw this technique in the COMA++ system. I attach a picture from that for more understandable:
h t t p : //img168.imageshack.us/img168/3746/coma.jpg
(sorry, I can up the image since I do not have enough posts)
I will appreciate for any help. Thank you very much :)