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

JSplitPane loses track of the left component when the component orientation is changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 24, 25
    • client-libs

      When the component orientation is changed from LTR to RTL or the other way around, JSplitPane exchanges the left and right components. However, it does this by adding and removing components instead of just swapping the leftComponent and rightComponent fields. As a side effect, the leftComponent field is left as null. See attached test program. Press the button three times and there will be only one component displayed.

            psadhukhan Prasanta Sadhukhan
            alans Alan Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: