<Swing Dev> [9] Review request for 8151303 [macosx] [hidpi] JButton's low-res. icon is visible when clicking on it
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed Mar 9 12:58:15 UTC 2016
Probably we should enhance ImageProducer/Tk.createImage/ImageFilter to
support this functionality? It seems that the number of usage of this
check "image instanceof MultiResolutionImage" will grow over time.
I think that at least our own API should support MultiResolutionImage
w/o such checks, otherwise the user will need to do the same.
cc 2d-dev
On 09.03.16 15:30, Alexander Scherbatiy wrote:
>
> Hello,
>
> Could you review the fix:
> bug: https://bugs.openjdk.java.net/browse/JDK-8151303
> webrev: http://cr.openjdk.java.net/~alexsch/8151303/webrev.00
>
> The AquaUtils does not take into account MultiResolutionImage for
> selected/disabled/lightened images generation.
> The fix also leaves the MultiResolutionCachedImage check because the
> base system icon size can be differ from the requested painted size.
>
> Thanks,
> Alexandr.
--
Best regards, Sergey.
More information about the swing-dev
mailing list