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

Scrollbars are not scrolling when clicked and then scrolled using arrow keys

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Scrollbars are not scrolling using arrow keys, even after clicking on the scrollbar. JScrollBar scrolls once you click it and scroll using arrow keys.

      Compile and run the ScrollbarDirection.java
      Robot will go and click the Scrollbar and press arrow keys Scrollbar wont scroll when scrolled using arrow keys. JScrollBar will scroll.

      Only way to scroll Scrollbar using Arrow keys is to press Tab continuously untill the Scrollbar gains Focus. Which is very inconvinient and the behaviour is different from other Components.

      Even though a comparison between Swing and AWT Components is not recommended, this functionality of clicking and then scrolling the scrollbar is required.

        Attachments

          Activity

            People

            • Assignee:
              bchristi Brent Christian
              Reporter:
              rpullanisunw Rakesh Pullanikkad (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: