RFR: 8282526: Default icon is not painted properly [v3]

Alexander Zuev kizune at openjdk.java.net
Tue Apr 26 22:06:09 UTC 2022


> 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.

Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:

  Take into account scale factor;
  Create a new Graphics2D object instead of juggle the rendering hints;

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7805/files
  - new: https://git.openjdk.java.net/jdk/pull/7805/files/6967cc18..a6aef9a9

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7805&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7805&range=01-02

  Stats: 19 lines in 1 file changed: 2 ins; 2 del; 15 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



More information about the client-libs-dev mailing list