<Swing Dev> [9] Review request for 8160986 Bad rendering of Swing UI controls with Metal L&F on HiDPI display

Phil Race philip.race at oracle.com
Thu Jul 7 19:00:28 UTC 2016


I imagine this was all done to maximise performance.
Is there any impact on SwingMark - try D3D both on & off ..

The change here :
http://cr.openjdk.java.net/~alexsch/8160986/webrev.00/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalScrollButton.java.sdiff.html

appears to handle only NORTH/SOUTH (ie up/down) and

the screenshot here bears that out .. ie left/right do not look to be 
any better.

http://cr.openjdk.java.net/~alexsch/8160986/screenshots/scrollpane-00.png


-phil.

On 07/07/2016 11:55 AM, Alexandr Scherbatiy wrote:
>
> Hello,
>
> Could you review the fix:
>   bug: https://bugs.openjdk.java.net/browse/JDK-8160986
>   webrev: http://cr.openjdk.java.net/~alexsch/8160986/webrev.00
>
>   The proposed fix changes icon shapes drawn by lines to ovals and 
> polygons for JRadioButton, JComboBox and JScrollBar components for the 
> Metal L&F.
>
>   The screenshots [1] give a hint how UI controls look before and 
> after the fix.
>
>   [1] http://cr.openjdk.java.net/~alexsch/8160986/screenshots
>
>  Thanks,
>  Alexandr.
>




More information about the swing-dev mailing list