Help Needed for drawing arrow in Java Swing...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uhdam
    New Member
    • Mar 2009
    • 50

    Help Needed for drawing arrow in Java Swing...

    HI..

    I need to link 2 JTree's using an arrow. For the line i used separator. But i couldnt draw an arrow. Can somebody help with this. Either help me draw the arrow mark alone or the entire arrow. These JTree's are in MDI Application.

    I Need to link two JTree using an arrow And the JTree's are in an MDI Application not a normal JFrame.

    I need to do this in JavaSwing. I dont want to use applet.

    Thanks in Advance.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by uhdam
    HI..

    I need to link 2 JTree's using an arrow. For the line i used separator. But i couldnt draw an arrow. Can somebody help with this. Either help me draw the arrow mark alone or the entire arrow. These JTree's are in MDI Application.

    I Need to link two JTree using an arrow And the JTree's are in an MDI Application not a normal JFrame.

    I need to do this in JavaSwing. I dont want to use applet.

    Thanks in Advance.
    There is no need to use an applet but I don't understand your question: do you logically want to hook up a tree (as a subtree) to another tree? You can always draw any Icon you want at any node of your tree but I don't think that is what you want.

    kind regards,

    Jos

    Comment

    • uhdam
      New Member
      • Mar 2009
      • 50

      #3
      Sir,

      Its not just two trees. I need to link many trees. I need to link them with arrows. Not as subclasses really. To show some flow of data i need to represent with arrows.

      Thank you.

      Comment

      Working...