Straight and Simple: Imagine we're on a class that extends JPanel
JProgressBar bar = new JProgressBar(0,0,10);
add(bar);
bar.setValue(5); //Works - You can visually see the change
bar = new JProgressBar(0,0,10);
bar.setValue(10); //Works - You can NOT visually see the change
Why's that?
And no, I couldn't find it anywhere that I looked. I searched for this specific question far and wide.