title: UIManager Changes color only once (Nimbus)
body: <p>Refer to this bug:</p>
  
  <p><a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4848910" rel="nofollow">4848910 : UIManager only updates colors once</a></p>
  
  <p>I have two buttons on a JFrame. From first button I am changing LAF Color by</p>
  
  <pre><code>UIManager.put( "Button.background", new ColorUIResource(Color.red) );
  SwingUtilities.updateComponentTreeUI( this.getContentPane() );
  </code></pre>
  
  <p>and on second button I am changing LAF color with </p>
  
  <pre><code>UIManager.put( "Button.background", new ColorUIResource(Color.green) );
  SwingUtilities.updateComponentTreeUI( this.getContentPane() );
  </code></pre>
  
  <p>Here I am using ColorUIResource (as described by the resolution of the bug)  but my problem remains the same as described in the refered bug. i.e. UIManager changes the color when any of the button gets clicked for the very first time but doesnt changes the color on subsequent clicks.</p>
  
  <p>Am I missing something? Any help would be appreciated.</p>