Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting trees with arrows

Luis De Bello
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I need to develop some component similar to the nebula tree mapper

I have some similar functionality but when the user scroll any of the trees I want to draw some line which is part visible and some part hidden but in order to do that I should calculate the X coordinate to start drawing the line and it should change when the mapping goes up and down, similar to this image but only showing part of the line

Thanks in advance for you help.

PS: I published the question in the SWT forum as well, but someone close it, I did this because I am trying to do this in SWT or JavaFX so any comment can be useful

What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!