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

scroll position in ScrollPane is reset after calling validate()

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b05

      Backports

        Description

        The position of java.awt.Scrollpane is reset to an initial position
        after calling validate() method with setting SCROLLBARS_NEVER.

        It is likely to be a bug in ScrollPane. The reason is that the validate() method
        eventually calls Win32 API SetScrollInfo(), which resets the position . It is
        always called even when the scroll bar is not displayed.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sveerabhadra Shashidhara Veerabhadraiah (Inactive)
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: