The protected methods ScrollBarUI#getTrackBounds() ScrollBarUI#getThumbBounds() have become inaccessible since JRE9 which is required to override the paint method and to paint the knob/thumb so we can consider making them public.
A CSR will be raised if this access expansion is accepted.. ------------- Commit messages: - 8176085: Please expose ScrollBarUI#getTrackBounds() ScrollBarUI#getThumbBounds() Changes: https://git.openjdk.org/jdk/pull/30209/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30209&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8176085 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/30209.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30209/head:pull/30209 PR: https://git.openjdk.org/jdk/pull/30209
