title: Java Window paint problem
body: <p>My application does not paint itself on startup. When resizing it or minimizing/maximizing it, the window of the application is painted.</p>
  
  <p>This problem only appears on Windows machines (I tested XP, Vista and Windows 7). On Mac OS X and Linux, the application works fine.</p>
  
  <p>The machines have installed java 6. My application uses the AWT, so not Swing. I tried using Swing (so JFrame in stead of Frame), but this does not solve the problem.</p>
  
  <p>I checked the calls on repaint(), update() and paint() of the frame. They all appear, and the image to draw is available. I also checked if these calls are done on the EDT thread. This is the case. When the window is resized (or min/max-ed) a call on paint() is done by the system, and the image is drawn.</p>
  
  <p>My fear is that I'm missing something really obvious. I'm making the frame visible, validate it (also tested with invalidate) and repaint it. This is sufficient in Mac OS X and Linux.</p>
  
  <p>Does somebody have any suggestions to what I should do, or what else to try?</p>
  
  <p>Thanx in advance</p>
  
  <p>Maurice</p>