On Thu, 12 Mar 2026 08:20:12 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> 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..

It might be useful to add a test to see how these methods can be used and 
whether there are other ways to achieve the same functionality.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/30209#issuecomment-4129571822

Reply via email to