Integrated: JDK-8294484: MetalBorder's FrameBorder & DialogBorder have border rendering issues when scaled

Harshitha Onkar honkar at openjdk.org
Thu Feb 9 00:48:03 UTC 2023


On Thu, 2 Feb 2023 20:09:18 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> FrameBorder and DialogBorder had border scaling issues similar to JInternalFrame. This fix addresses it by creating `AbstractMetalWindowBorder` 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.

This pull request has now been integrated.

Changeset: 5561c397
Author:    Harshitha Onkar <honkar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5561c397c53b8a821a200491abd8f7b3297fbd31
Stats:     797 lines in 3 files changed: 393 ins; 328 del; 76 mod

8294484: MetalBorder's FrameBorder & DialogBorder have border rendering issues when scaled

Co-authored-by: Alexey Ivanov <aivanov at openjdk.org>
Reviewed-by: aivanov, kizune

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

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



More information about the client-libs-dev mailing list