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.
------------- Commit messages: - 8282526: Default icon is not painted properly Changes: https://git.openjdk.java.net/jdk/pull/7805/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7805&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8282526 Stats: 153 lines in 3 files changed: 148 ins; 0 del; 5 mod Patch: https://git.openjdk.java.net/jdk/pull/7805.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7805/head:pull/7805 PR: https://git.openjdk.java.net/jdk/pull/7805