Hi, Alexander.
Did you check option of loading of the picture on demand?Since most of the time x2 version is useless on non hdpi and vice versa.

On 13.02.2014 18:04, Alexander Scherbatiy wrote:

Hello,

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
http://mail.openjdk.java.net/pipermail/awt-dev/2014-February/006991.html
because CImage.createImageFromName(imageName) never returns a MultiResolution image for templates. But the fix 8033534 can be updated to use the MultiResolutionBufferedImage.

Thanks,
Alexandr.



--
Best regards, Sergey.

Reply via email to