Issue is for Aqua L&F, RTL mode rendering is not exactly same as LTR mode, as toolbar grip is not getting drawn or shown on right side.
Actually, JToolBar grip is getting painted in RTL mode too but its getBorderInsets() always reserves the extra handle space on the left, not on the right, so the right button overlaps the toolbar handle The fix is made to reserve the handle inset on the leading side --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Fix Changes: https://git.openjdk.org/jdk/pull/32291/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32291&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8390042 Stats: 8 lines in 2 files changed: 3 ins; 0 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/32291.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32291/head:pull/32291 PR: https://git.openjdk.org/jdk/pull/32291
