On Sun, 13 Mar 2022 21:06:24 GMT, Alexander Zuev <kiz...@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 icon returned by the system is 32x32 icon that looks like this:  After approximation to the 16x16 with nearest neighbor it now looks like this:  So the significant details are lost and the resulting icon looks cropped. After the fix the icon in the test looks fine:  ------------- PR: https://git.openjdk.java.net/jdk/pull/7805