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

Reply via email to