On Thu, 2 Nov 2023 04:13:17 GMT, Abhishek Kumar <[email protected]> wrote:
> 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.
test/jdk/javax/swing/JProgressBar/TestProgressBarBorder.java line 126:
> 124: frame = new JFrame("Test JProgressBar Border");
> 125: JPanel p = new JPanel(new FlowLayout());
> 126: progressBar = new JProgressBar();
Suggestion:
progressBar = new JProgressBar();
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16467#discussion_r1390757118