title: Java Swing - GUI not refreshing or freeze after java 1.8 updates
body: <p>I have a working application, which working fine in Java 1.6 and 1.7 and even 1.8 update 31. I just update my Java today 1.8 update 45 and found my application interface having issue. For an example: 
  <img src="https://i.stack.imgur.com/mQKC9.png" alt="enter image description here">
  This is my working application screen. This is what it should be, but after the update its become like this (below):
  <img src="https://i.stack.imgur.com/Ernyq.png" alt="enter image description here">
  Once I get the not functioning interface, I need to click on the area or I need to minimize the application and open again to revert back to normal. </p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
  tab.setTabPlacement(2);
  frame.add(tab, BorderLayout.SOUTH);
  ComparePanelMin cmp = new ComparePanelMin();
  tab.add("Compare", cmp);
  ReportPanelMin rp = new ReportPanelMin();
  tab.add("Reporting (For Single Compare)", rp);
  ChangeListener changeListener = new ChangeListener() {
  @Override
  public void stateChanged(ChangeEvent changeEvent) {
  idx = tab.getSelectedIndex();
  }
  </code></pre>
  
  <p>Above code to switch between the tabs. Any advice or reference links is highly appreciated.
  <strong>EDITED</strong><br>
  <strong>DeadLock</strong>
  <img src="https://i.stack.imgur.com/wDDWS.png" alt="enter image description here"></p>