Modified the code to account for border thickness correctly and updated the related tests to make sure we are testing the new change.
Testing done. ------------- Commit messages: - Update ScaledTextFieldBorderTest.java - 8349188: Expand bug8033699.java to iterate over all LaFs Changes: https://git.openjdk.org/jdk/pull/26025/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26025&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8349188 Stats: 96 lines in 3 files changed: 43 ins; 19 del; 34 mod Patch: https://git.openjdk.org/jdk/pull/26025.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26025/head:pull/26025 PR: https://git.openjdk.org/jdk/pull/26025