RFR: JDK-8297449: Update JInternalFrame Metal Border code [v3]

Harshitha Onkar honkar at openjdk.org
Tue Nov 29 20:05:49 UTC 2022


> Updated Metal Border code for JInternalFrame. 
> 
> - Added instanceof check before casting Graphics to G2D.
> - Replaced roundHalfDown with Region.clipRound()

Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:

  added scaleFactor

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11305/files
  - new: https://git.openjdk.org/jdk/pull/11305/files/5f019dfd..a3afba44

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11305&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11305&range=01-02

  Stats: 9 lines in 1 file changed: 4 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/11305.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11305/head:pull/11305

PR: https://git.openjdk.org/jdk/pull/11305



More information about the client-libs-dev mailing list