Horizontally expanding JTree

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jyohere
    New Member
    • Apr 2007
    • 73

    Horizontally expanding JTree

    I want a horizontally expanding tree. Is it possible in java.Can anyone tell me if any tool availabe if not possible in java .Example of tree is below:
    |
    -----------------2[]----|
    | |
    |
    |
    1[]-|
    | |
    | |
    | __________3[]---|
    |
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by jyohere
    I want a horizontally expanding tree. Is it possible in java.Can anyone tell me if any tool availabe if not possible in java .Example of tree is below:
    |
    -----------------2[]----|
    | |
    |
    |
    1[]-|
    | |
    | |
    | __________3[]---|
    |
    I don't see much difference between your tree and a JTree except that you want
    your root (node 1) printed 'between' nodes 2 and 3 while a JTree prints node 1
    before it prints nodes 2 and 3. Or maybe I'm blind ;-)

    kind regards,

    Jos

    Comment

    • jyohere
      New Member
      • Apr 2007
      • 73

      #3
      Originally posted by JosAH
      I don't see much difference between your tree and a JTree except that you want
      your root (node 1) printed 'between' nodes 2 and 3 while a JTree prints node 1
      before it prints nodes 2 and 3. Or maybe I'm blind ;-)

      kind regards,

      Jos
      The diagram became wierd after i clicked submit ...dont know why....i want a tree that expands horizontally as opposed to Jtree which expands vertically

      Comment

      • jyohere
        New Member
        • Apr 2007
        • 73

        #4
        Originally posted by jyohere
        The diagram became wierd after i clicked submit ...dont know why....i want a tree that expands horizontally as opposed to Jtree which expands vertically
        [IMG]/tmp/connections-1-img.bmp[/IMG]

        Comment

        • JosAH
          Recognized Expert MVP
          • Mar 2007
          • 11453

          #5
          Originally posted by jyohere
          The diagram became wierd after i clicked submit ...dont know why....i want a tree that expands horizontally as opposed to Jtree which expands vertically
          Put your ASCII art between [ code ] ... [ /code ] tags; it uses a monospaced font
          for its display.

          kind regards,

          Jos

          Comment

          • jyohere
            New Member
            • Apr 2007
            • 73

            #6
            Originally posted by JosAH
            Put your ASCII art between [ code ] ... [ /code ] tags; it uses a monospaced font
            for its display.

            kind regards,

            Jos
            Click the link below. I want something like this.which expands and collapses
            http://www.boxesandarr ows.com/files/banda/site_diagrams_m apping_an_infor mation_space/Withrow_img2.gi f

            Comment

            Working...