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

Pannable ScrollPane behaves badly when content changes during panning

    XMLWordPrintable

    Details

      Description

      In my app I need pannable ScrollPane with content that gets added gradually as it is loaded from internet. Unfortunately when some content is added to the ScrollPane it jumps to some other location and it looks ugly.

      1. Run the attached sample,
      2. Press "Z" key several times to get random content to fill twice the window height.
      3. Scroll the pane down and start to pan it.
      4. While panning continue to press "Z" key to add more content.
      RESULT: ScrollPane content jumps up and down ugly.

        Attachments

        1. Bug.java
          2 kB
          Alexander Kuznetcov

          Activity

            People

            Assignee:
            miflemi Mick Fleming
            Reporter:
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Imported: