RFR: 8365615: Improve JMenuBar/RightLeftOrientation.java

Alexey Ivanov aivanov at openjdk.org
Fri Aug 15 16:53:35 UTC 2025


Position the two frames with menu bars in left-to-right and right-to-left orientations below the frame that allows changing the look and feel.

Additionally, amend the instructions and refactor the code, show an error message to the tester if setting L&F fails.

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

Commit messages:
 - 8365615: Improve JMenuBar/RightLeftOrientation.java

Changes: https://git.openjdk.org/jdk/pull/26803/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26803&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365615
  Stats: 56 lines in 1 file changed: 17 ins; 10 del; 29 mod
  Patch: https://git.openjdk.org/jdk/pull/26803.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26803/head:pull/26803

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


More information about the client-libs-dev mailing list