RFR: 5107379: Component orientation in JOptionPane is not proper in Motif L&F.
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Nov 27 12:44:28 UTC 2025
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.
-------------
Commit messages:
- jcheck
- 5107379: Component orientation in JOptionPane is not proper in Motif L&F.
Changes: https://git.openjdk.org/jdk/pull/28532/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28532&range=00
Issue: https://bugs.openjdk.org/browse/JDK-5107379
Stats: 124 lines in 2 files changed: 122 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28532.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28532/head:pull/28532
PR: https://git.openjdk.org/jdk/pull/28532
More information about the client-libs-dev
mailing list