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

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Dec 9 07:44:10 UTC 2025


On Thu, 27 Nov 2025 12:32:22 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> 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 <psadhukhan at openjdk.org>
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


More information about the client-libs-dev mailing list