Popup menu is created on mouse click, hence the orientation for FileChooser 
won't apply to the popup menu created. Hence the fix address the issue by 
applying the FileChooser orientation when it is created on mouse operation 
(Right Click). 
The test does not apply to Motif and Aqua Look And Feel since right click is 
not supported on filePane of FileChooser, hence it is skipped. The fix is 
tested in CI and it is green.

-------------

Commit messages:
 - Fix + Automated Test

Changes: https://git.openjdk.org/jdk/pull/14949/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14949&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6442919
  Stats: 85 lines in 2 files changed: 85 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14949.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14949/head:pull/14949

PR: https://git.openjdk.org/jdk/pull/14949

Reply via email to