Hi Reviewers, I have updated the insets calculation, similar calculation observed in **SynthGraphicsUtils.java**. Reused the **SwingUtilities3.java** modified code
Please review and let me know your suggestions if any. ------------- Commit messages: - 8365379: SU3.applyInsets may produce wrong results Changes: https://git.openjdk.org/jdk/pull/27157/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27157&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8365379 Stats: 8 lines in 2 files changed: 1 ins; 0 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/27157.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27157/head:pull/27157 PR: https://git.openjdk.org/jdk/pull/27157
