title: Colorize a tab in a JTabbedPane using java swing
body: <p>I am trying to change the background color of my tabs in a <code>JTabbedPane</code>. I tried <code>JTabbedPane.setBackgroudAt(0, Color.GRAY)</code> and <code>JTabbedPane.setBackgroud(Color.GRAY)</code> and the foreground too, but nothing happens. I changed the background of the panel inside the tab, still nothing.</p>
  
  <p><img src="https://i.stack.imgur.com/d08v3.png" alt="enter image description here"></p>
  
  <p><strong>Edit 1:</strong> I'm using <code>UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");</code> if this can help with the solution</p>
  
  <p><strong>Edit 2:</strong> Link to a example, <a href="https://www.dropbox.com/s/0krn9vikvkq46mz/JavaApplication4.rar" rel="nofollow noreferrer">https://www.dropbox.com/s/0krn9vikvkq46mz/JavaApplication4.rar</a></p>