> It is observed that mouseWheel doesn't scroll through a list if there is no > scrollbar even though pressing PageUp/Down using keyboard moves up/down the > list. > Issue stems from the fact that BasicScrollPaneUI.Handler.mouseWheelMoved() > skips the mouse wheel events when the scrollbar is not visible. > Fixed to handle mouseWheelEvent even though scrollbar is not visible with the > assumption that if both vertical and horizontal scrollbar is not visible, > then assume default orientation to be vertical. > > Existing jtreg, jck tests are ok. All L&F works well with the fix and > testcase works in all platforms except on mac which will be handled > separately.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Add volatile keyword in test ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/7585/files - new: https://git.openjdk.java.net/jdk/pull/7585/files/700a98e6..3514278e Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7585&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7585&range=01-02 Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod Patch: https://git.openjdk.java.net/jdk/pull/7585.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7585/head:pull/7585 PR: https://git.openjdk.java.net/jdk/pull/7585