RFR: JDK-8294484: MetalBorder's FrameBorder & DialogBorder have border rendering issues when scaled [v2]
Sergey Bylokhov
serb at openjdk.org
Fri Feb 3 05:20:50 UTC 2023
On Thu, 2 Feb 2023 20:34:20 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> 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 incrementally with one additional commit since the last revision:
>
> removed unused import
test/jdk/javax/swing/plaf/metal/MetalBorders/ScaledMetalBorderTest.java line 2:
> 1: /*
> 2: * Copyright (c) 2022, 2023 Oracle and/or its affiliates. All rights reserved.
the comma after the second year should be added.
-------------
PR: https://git.openjdk.org/jdk/pull/12391
More information about the client-libs-dev
mailing list