I tried out the function of the JProgressBar in Java. But there is a problem I couldn\'t solve:
When I set the minimum to zero, the maximum value to 100 and the curr
It looks like a layout issue / bug when setting the system L&F.
I managed to hide the bug by setting a preferred size to the progress bar with the issue:
progressSix.setPreferredSize(new Dimension(200, 15));
It seems to be related to the progress bar size. If I use a BoxLayout
instead of the FlowLayout
and resize the container enough, I can see it displaying even for smaller values.