title: Remove some layout elements from JProgressBar
body: <p>I would like to know if it's possible to remove red areas(on JProgressBar) on the following image.</p>
  
  <p><img src="https://i.stack.imgur.com/x2n4f.png" alt="JProgressBar"></p>
  
  <p>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.</p>
  
  <p>Thanks,
  Serhiy.</p>