RFR: 5107379: Component orientation in JOptionPane is not proper in Motif L&F. [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Dec 9 06:11:16 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.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
Test fix
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28532/files
- new: https://git.openjdk.org/jdk/pull/28532/files/52c2dd16..b825d01a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28532&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28532&range=00-01
Stats: 6 lines in 1 file changed: 1 ins; 2 del; 3 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