<Swing Dev> [9] Review request for 8162856 JSlider thumb is twice smaller on HiDPI display

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Tue Aug 2 10:46:01 UTC 2016


Hello,

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

   This is a regression from the fix: JDK-8143064 Icons are not properly 
rendered with Windows L&F on HiDPI display
MetalIconFactory.OceanVerticalSliderThumbIcon/OceanHorizontalSliderThumbIcon.paintToImage(...) 
methods do not take the provided image size into account.
   The fix sets graphics scale when icon sizes are different from default.

  Thanks,
  Alexandr.





More information about the swing-dev mailing list