On Thu, 2 Feb 2023 20:09:18 GMT, Harshitha Onkar <[email protected]> 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 <[email protected]>
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 <[email protected]>
Reviewed-by: aivanov, kizune

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

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

Reply via email to