I would like to know if it's possible to remove red areas(on JProgressBar) on the following image.
These are blue lines on the top and left side of the progress bar which I would like to remove. I have managed to remove it with paint() method, painting progress bar manually. But probably there is more correct way of doing it.
Thanks, Serhiy.
Not tested but i think progressBar.setBorderPainted(false) should do the trick.