On Thu, 27 Nov 2025 12:32:22 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> Issue is icon in JOptionPane is not aligned as per the Component Orientation 
> in Motif LookAndFeel.
> It seems only the buttons are aligned as per component orientation whereas 
> the icon is not.
> 
> It is because the icon is drawn at "West" constraint whereas it should be 
> drawn at beginning of line as done in BasicOptionPaneUI to ensure component 
> orientation is honoured.

This pull request has now been integrated.

Changeset: cba09cd1
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/cba09cd10d4e4482852a317786242836419c313b
Stats:     122 lines in 2 files changed: 120 ins; 0 del; 2 mod

5107379: Component orientation in JOptionPane is not proper in Motif L&F.

Reviewed-by: tr, kizune

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

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

Reply via email to