<AWT Dev> [9] Review request for 8038113 [macosx] JTree icon is not rendered in high resolution on Retina

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Apr 2 12:20:02 UTC 2014


   Could you review the updated fix:

   The CachableJRSUIIcon creates an image twice: in createImage() and in 
the AquaPainter.paint() methods.

   The fix paints the icon directly from the AquaPainter.paint() method 
which uses the properly scaled image.


On 3/26/2014 6:15 PM, Alexander Scherbatiy wrote:
> Hello,
> Could you review the fix:
>   bug: https://bugs.openjdk.java.net/browse/JDK-8038113
>   webrev: http://cr.openjdk.java.net/~alexsch/8038113/webrev.00
>   MultiResolution image is used to create resolution variants for the 
> JTree icons.
>   The fix assumes that AquaPainter uses the graphics transform for the 
> image size calculation
>   an so depends on the fix for issue 8032667 [macosx] Components 
> cannot be rendered in
> http://mail.openjdk.java.net/pipermail/awt-dev/2014-March/007370.html
> Thanks,
> Alexandr.

More information about the awt-dev mailing list