<Swing Dev> Bug : JDK-8078831 Mismatch of getPreferredSize() and getPreferredScrollableViewportSize() values in WindowsClassicLookAndFeel
Rajeev Chamyal
rajeev.chamyal at oracle.com
Thu Aug 27 10:34:20 UTC 2015
Hello All,
Please review the updated fix with latest review comments.
http://cr.openjdk.java.net/~psadhukhan/rajeev/5042886/webrev.01/
Regards,
Rajeev Chamyal
-----Original Message-----
From: Alexander Scherbatiy
Sent: Wednesday, August 26, 2015 6:42 PM
To: Rajeev Chamyal
Cc: Alexander Zvegintsev; Sergey Bylokhov; swing-dev at openjdk.java.net
Subject: Re: Bug : JDK-8078831 Mismatch of getPreferredSize() and getPreferredScrollableViewportSize() values in WindowsClassicLookAndFeel
On 8/26/2015 12:13 PM, Rajeev Chamyal wrote:
> Hi,
>
> Please review the following fix for jdk9:
>
> Bug:https://bugs.openjdk.java.net/browse/JDK-8078831
>
> Webrev :
> http://cr.openjdk.java.net/~psadhukhan/rajeev/5042886/webrev.00/
> <http://cr.openjdk.java.net/%7Epsadhukhan/rajeev/5042886/webrev.00/>
>
> getPreferredScrollableViewportSize() must not return the same as getPreferredSize() but it should return equal or less size. Test condition was checking for inequality and throwing Runtime exception.
>
Please, split lines which are longer than 80 characters.
Thanks,
Alexandr.
> Regards,
> Rajeev Chamyal
>
More information about the swing-dev
mailing list