RFR: 6510914: JScrollBar.getMinimumSize() breaks the contract of JComponent.setMinimumSize() [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Aug 28 08:55:11 UTC 2023
On Thu, 24 Aug 2023 19:10:52 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> How does the scrollbar look like if you set its minimum or maximum size to a larger size along its other axis?
I dont see any difference in scrollbar look if I set minimum and maximum size to larger size....
for example, this is the screenshot for `open/test/jdk/javax/swing/JScrollBar/8039464/Test8039464.java`
where I additionally set JScrollBar setMinimumSize to 275,0 and setMaximumSize to 800, 0

but getMinimumSize/getMaximumSize returns 275 and 800..
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15325#issuecomment-1695298886
More information about the client-libs-dev
mailing list