title: Components not displaying on JFrame time-to-time
body: <p>I have a JFrame Gridlayout with components like buttons, JTextfields, JLabels. </p>
  
  <p>Sometimes when I execute the file, I see an empty frame. So I have to maximize the screen, the components come back. and then when I go back to normal window, the components are still visible. </p>
  
  <p>Sometimes when I execute the file, I see the components right away. As they should be.</p>
  
  <p>Can anyone explain this phenomena? </p>