-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.4.0
-
generic
-
generic
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.
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.