title: How to change a JProgressBar Text Color
body: <pre><code>     UIManager.put("jb.selectionForeground", new ColorUIResource(Color.BLACK));
       UIManager.put("jb.selectionBackground", new ColorUIResource(Color.BLACK));
  </code></pre>
  
  <p>I tried this method, but its not working.</p>