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

JTree returns strange values for getScrollableUnitIncrement()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • x86
    • windows_nt

      The JTree in SwingSet2 returns negative values if the scrollthumb is dragged all the way to the top of the scroll track, and then the up scroll arrow is clicked. This causes the JTree to scroll _DOWN_ ever so slightly, even though the up arrow was clicked. (Incidentally, this effect is magnified somewhat with mouse wheel scrolling, but you'll have to wait for the next integration to see that =). This only happens one time - once the scroll thumb is moved down slightly, clicking the up scroll arrow again yields a unit increment of 0.

      brent.christian@eng 2000-08-25

      The SwingSet2 ListDemo also behaves strangely. Scrolling the left-hand list all the way to the bottom, and then clicking the up scroll arrow (or wheeling up) only scrolls the list by 1 pixel. It should be more like 6.

      brent.christian@eng 2000-09-07

            svioletsunw Scott Violet (Inactive)
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: