RFR: 5107379: Component orientation in JOptionPane is not proper in Motif L&F. [v3]

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Dec 9 06:17:23 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/b825d01a..ade6de66

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28532&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28532&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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