RFR: 8225220: When the Tab Policy is checked,the scroll button direction displayed incorrectly.

Abhishek Kumar abhiscxk at openjdk.org
Tue Nov 21 18:15:22 UTC 2023


JTabbedPane scroll button direction was incorrect because the widget type returned while painting the arrow was `SPINNER_ARROW_BUTTON`. Added the condition check for JTabbedPane before returning the widget type and based on the tab placement set by user, appropriate widget type is returned.

Tested the CI jobs against the fix and it was green. Link attached in JBS.

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

Commit messages:
 - Remove frame dispose
 - JTabbedPane arrow direction fix

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

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


More information about the client-libs-dev mailing list