Re: [9] Review request for 8038113 [macosx] JTree icon is not rendered in high resolution on Retina

2014-04-09 Thread Sergey Bylokhov
Hi, Alexander. The fix looks good. But can you remove the text " in Quartz" from the comments before the push. Thanks. On 4/7/14 7:30 PM, Alexander Scherbatiy wrote: Hello, Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/8038113/webrev.02 - CachableJRSUIIcon exp

Re: [9] Review request for 8038113 [macosx] JTree icon is not rendered in high resolution on Retina

2014-04-08 Thread Petr Pchelko
Hello, Alexander. The new version looks good to me. With best regards. Petr. On 07.04.2014, at 19:30, Alexander Scherbatiy wrote: > > Hello, > > Could you review the updated fix: >http://cr.openjdk.java.net/~alexsch/8038113/webrev.02 > > - CachableJRSUIIcon explicitly implements Icon

Re: [9] Review request for 8038113 [macosx] JTree icon is not rendered in high resolution on Retina

2014-04-07 Thread Alexander Scherbatiy
Hello, Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/8038113/webrev.02 - CachableJRSUIIcon explicitly implements Icon interface now - getOptimizedImage() method is removed from the CachingScalingIcon because NSImage always scales an image to the requested size

Re: [9] Review request for 8038113 [macosx] JTree icon is not rendered in high resolution on Retina

2014-04-02 Thread Petr Pchelko
Hello, Alexander. Could you please add the @Override to the paintIcon method. Also I suggest to reuse the paintIcon in the createIcon. With best regards. Petr. On 02.04.2014, at 16:20, Alexander Scherbatiy wrote: > > Hello, > > Could you review the updated fix: >http://cr.openjdk.ja

Re: [9] Review request for 8038113 [macosx] JTree icon is not rendered in high resolution on Retina

2014-04-02 Thread Alexander Scherbatiy
Hello, Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/8038113/webrev.01/ 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

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

2014-03-26 Thread Alexander Scherbatiy
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 tra