Review request for 8031573 [macosx] Checkmarks of JCheckBoxMenuItems aren't rendered in high resolution on Retina
hs at tagtraum.com
Thu Feb 13 08:10:43 PST 2014
On Feb 13, 2014, at 15:04, Alexander Scherbatiy <alexandr.scherbatiy at oracle.com> wrote:
> Could you review the fix:
> bug: https://bugs.openjdk.java.net/browse/JDK-8031573
> webrev: http://cr.openjdk.java.net/~alexsch/8031573/webrev.00
> The NSMenu* system icons are templates and do not have image representations.
> The fix retrieves images with original and double size from an NSImage and put them to a MultiResolution image.
> The fix also adds sun.awt.image.MultiResolutionBufferedImage class which can be used uniformly for a Multiresolution image creation.
> The fix is independent of the fix 8033534 Get MultiResolution image from native system
> because CImage.createImageFromName(imageName) never returns a MultiResolution image for templates.
> But the fix 8033534 can be updated to use the MultiResolutionBufferedImage.
Glad to see you guys are working on this. It greatly increases chances of actually shipping something for OS X with bundled Java 8—once 8u20 is out.
More information about the macosx-port-dev