title: JLabel doesn't change back color
body: <p>Part of my function looks like this </p>
  
  <pre><code>jLabel2.setBackground(Color.YELLOW);
  jLabel2.setText("Status : Idle");
  
  boolean ok=cpu21.RestartSSH();
  
  if(ok){
      jLabel2.setBackground(Color.GREEN);
      jLabel2.setText("Status : Run");    
  }
  </code></pre>
  
  <p>Before I enter in function label is Green and Run, but when I come in function it doesn't chabge color to Yellow ( function RestartSSH is executing 5-6 sec, but during that time labels doesn't change colors and captures ). Where I make mistake in painting ?</p>