RFR: JDK-8294484: MetalBorder's FrameBorder & DialogBorder have border rendering issues when scaled [v2]

Harshitha Onkar honkar at openjdk.org
Thu Feb 2 20:34:20 UTC 2023


> FrameBorder and DialogBorder had border scaling issues similar to JInternalFrame. This fix addresses it by creating `AbstractMetalBorder` class that contains the common steps required for painting border for `FrameBorder`, `DialogBorder` and `InternalFrameBorder`. 
> 
> All 3 cases - JFrame, JDialog and JInternalFrame are combined into a single test case - `ScaledMetalBorderTest` and hence the older `InternalFrameBorderTest` which is no longer required, is deleted.

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

  removed unused import

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12391/files
  - new: https://git.openjdk.org/jdk/pull/12391/files/9e32240f..a0e8b29e

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

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/12391.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12391/head:pull/12391

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



More information about the client-libs-dev mailing list