RFR: 5107379: Component orientation in JOptionPane is not proper in Motif L&F.
Alexander Zuev
kizune at openjdk.org
Wed Dec 3 21:46:21 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.
Looks reasonable.
-------------
Marked as reviewed by kizune (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28532#pullrequestreview-3537049552
More information about the client-libs-dev
mailing list