<Swing Dev> [9] Review request for 8176883 Enable antialiasing for Metal L&F icons on HiDPI display

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Thu Mar 16 16:03:15 UTC 2017


Hello,

Could you review the fix:
   bug: https://bugs.openjdk.java.net/browse/JDK-8176883
   webrev: http://cr.openjdk.java.net/~alexsch/8176883/webrev.00

   Metal RadioButton and RadioButtonMenuItem icons are not drawn 
smoothly on HiDPI displays especially with floating point scales like 
1.25 and 1.5.
   The fix enables the antialiasing rendering hint for the radio button 
and radio button menu item if the passed graphics is scaled.

   The [1] folder contains screenshots how icons are drawn before the 
fix (on the left side) and after the fix (on the right side).

   [1] http://cr.openjdk.java.net/~alexsch/8176883/screenshots/00

Thanks,
Alexandr.




More information about the swing-dev mailing list