title: How can I change JTable's header background color?
body: <p>I've tried:</p>
  
  <pre><code>table.getTableHeader().setBackground(Color.BLACK);
  </code></pre>
  
  <p>Doesn't work.</p>
  
  <p>EDIT: This code doesn't work in my project only. Works in other projects. I may have changed a property that stops the color from changing. Or maybe NetBeans has some property which keeps the default colors. I've noticed something else. The color of the header in my project is shining in a different way. In the examples where the color change works, I see different graphics.</p>
  
  <p>EDIT 2: Something else. I noticed that the buttons won't change color either. Must be something generic. Hope this helps. Unfortunately SSCCE won't work in this case, because I can't recreate the problem. I am surely using the right component names.</p>