Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4259260

JTree nodes don't line up perfectly in right-to-left orientation

XMLWordPrintable

    • kestrel
    • generic
    • generic

      Tree nodes line up exactly under each other in the left-to-right orientation. However, the same nodes are slightly skewed to the side in the right-to-left orientation.

      To duplicate:
      1. run the SwingTest demo
      2. select the Tree demo
      3. select any look and feel
      4. select right to left orientation

      It appears that the drawing coordinates for expansion/contraction nodes and leaf nodes are not computed correctly. They appear to be several pixels off.

            joconnersunw John Oconner (Inactive)
            joconnersunw John Oconner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: