RFR: JDK-8294484: MetalBorder's FrameBorder & DialogBorder have border rendering issues when scaled [v5]
Harshitha Onkar
honkar at openjdk.org
Tue Feb 7 21:57:16 UTC 2023
> FrameBorder and DialogBorder had border scaling issues similar to JInternalFrame. This fix addresses it by creating `AbstractMetalBorder` class within MetalBorder, 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:
- minor review changes
- Merge branch 'master' into MetalBorderRefactor_8294484
- review changes: AbstractMetalWindowBorder, strokeWidth rename
- Merge branch 'master' into MetalBorderRefactor_8294484
- minor change
- removed unused import
- added updateColor(), isActive() to MetalBorder
- test summary changes
- deleted InternalFrameBorderTest
- moved corner var to AbstractMetalBorder
- ... and 2 more: https://git.openjdk.org/jdk/compare/efb47057...e9b37edc
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12391/files
- new: https://git.openjdk.org/jdk/pull/12391/files/4be01e84..e9b37edc
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12391&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12391&range=03-04
Stats: 1994 lines in 12 files changed: 1245 ins; 734 del; 15 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