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

RTL JScrollPanes are drawn incorrectly

    XMLWordPrintable

Details

    • beta2
    • generic
    • solaris_2.5

    Description

      JScrollPane does not keep the ComponentOrientation properties of its internal components (the scroll bars and scroll buttons) in sync with its own ComponentOrientation property. If the user calls setComponentOrientation(rightToLeft) on a scroll pane they will get a right to left scroll pane with left to right internal components.

      Note that this does not appear in the SwingSet demo because SwingSet walks its component tree setting every component to the same ComponentOrientation value. Since scroll pane's internal components are children they end up getting the right ComponentOrientation values. This tree walking should not be necessary for internal sub-components.


      brian.beck@Eng 1999-07-15

      Attachments

        Activity

          People

            peytoia Yuka Kamiya (Inactive)
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: