RFR: 8224261: JProgressBar always with border painted around it

Abhishek Kumar abhiscxk at openjdk.org
Thu Nov 2 16:02:27 UTC 2023


JProgressBar is always painted with border irrespective of the value set via the API `setBorderPainted(boolean value)` in Synth (Nimbus and GTK) LAF. Proposed fix is to add a check before painting the component.

CI jobs are green after the fix. Links attached to JBS.

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

Commit messages:
 - ProgressBar border paint fix

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

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


More information about the client-libs-dev mailing list