On Wed, 14 Sep 2022 18:33:47 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
> JInternalFrame background color seems to overflow into the border region. > This issue is more prominently seen on Windows - Metal LAF (with fractional > scaling, as shown below). The primary reason is border scaling issue as > observed in - [JDK-8279614](https://bugs.openjdk.org/browse/JDK-8279614) > > The fix involves a similar approach as described here > https://github.com/openjdk/jdk/pull/7449#issuecomment-1068218648. The test > checks the midpoint and corners of borders to check if the internal frame's > background color is located out of JInternalFrame. > >  This pull request has now been integrated. Changeset: f857f795 Author: Harshitha Onkar <hon...@openjdk.org> Committer: Alexey Ivanov <aiva...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/f857f795a9fc8b116bfc6b039114051061950e28 Stats: 408 lines in 2 files changed: 360 ins; 8 del; 40 mod 8015739: Background of JInternalFrame is located out of JInternalFrame Reviewed-by: kizune, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/10274