On Tue, 11 Aug 2026 04:45:12 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> 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).

This pull request has now been integrated.

Changeset: d426d66b
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/d426d66b5e27f54f676f04e3263eb72be67b1f5f
Stats:     8 lines in 2 files changed: 3 ins; 0 del; 5 mod

8390042: Test "javax/swing/JToolBar/RightLeftOrientation.java" fails on macOS 
because two tool bar are not mirror images of each other for "Mac OS X" look 
and feel

Reviewed-by: kizune

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

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

Reply via email to