title: Image Panel doesn't show up immediately in JFrame
body: <p>So I have a class which extends <code>JPanel</code> and on which I draw a <code>BufferedImage</code> (in its <code>paintComponent</code> method).
  However, the image doesn't show up until I resize the window. Any idea how to fix this?
  I've tried repaint without much success.</p>