title: Java- Changing swing background colour?
body: <p>Ok so ive got a swing app going using the "System" look and feel. Now, I want to change the background colour of the main panels to black. Too easy right?</p>
  
  <pre><code>UIManager.put("Panel.background", Color.BLACK);
  </code></pre>
  
  <p>Well yeah, except now the controls in the app look stupid, because their 'shadows', for want of a better word, are graduated to fade towards the old system default colour(gross windows grey). So there are light grey 'corners' on all the controls, especially the tabs on JTabbedPane. 
  I know it can be fixed, because if you change the windowsXP theme to one with a different default application colour, the controls take on this changed colour and their shadows 'fade' towards it.</p>
  
  <p>But I have no idea what UIManager key it is, or even if you can do it with UIManger.</p>
  
  <p>I dont really want to change the L&amp;F engine, because apart from this it looks good.</p>