title: Not able to repaint inside the Jframe/label
body: <p>Basically, there are two different BufferedImage called img_w and img_b1...
  Once I set my Jframe/label to one of them, it never changes or never repants() to the new Imagebuffered value... </p>
  
  <p>Thanks in advance..</p>
  
  <pre><code>BufferedImage img_w = new BufferedImage(old_width_i, old_height_i, BufferedImage.TYPE_INT_RGB);
  BufferedImage img_b1 = new BufferedImage(old_width_i, old_height_i, BufferedImage.TYPE_INT_RGB);
  
  // add data into the img_w and img_b1
  
  JFrame frame=new JFrame();
  JLabel label = new JLabel(new ImageIcon(img_w));
  frame.getContentPane().add(label, BorderLayout.WEST);
  frame.pack();
  frame.setVisible(true); 
  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  
  try {
      Thread.sleep(1000);
  } catch (InterruptedException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  
  //I am trying to sleep only cause I want to make out if the image is changing or not or basically , to have a rotating illusion...
  
  System.out.println("Hello");
  frame.getContentPane().add(new JLabel(new ImageIcon(img_w)), BorderLayout.WEST);
  frame.repaint();
  
  
  label = new JLabel(new ImageIcon(img_b1));
  frame.getContentPane().add(label,BorderLayout.WEST); //display the image (works)
  label.repaint(); //update the display??
  frame.repaint();
  frame.getContentPane().repaint();
  </code></pre>