RFR: 8282526: Default icon is not painted properly

Alexander Zuev kizune at openjdk.java.net
Wed Mar 16 18:59:45 UTC 2022


On Sun, 13 Mar 2022 21:06:24 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Detect the situation where we do need to perform interpolation during ImageIcon
> painting and set a hint to the rendering to perform bicubic approximation so
> image details are preserved during transition.

The problem is attempt to set it back to null causes NPE. null value means it is not set and there is no method to remove the hint.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7805



More information about the client-libs-dev mailing list