title: Java (swing): Annoyance resizing JFrame by dragging the bottom left corner
body: <p><img src="https://i.stack.imgur.com/C13oG.jpg" alt="http://imageshack.us/a/img845/796/15881822.jpg"></p>
  
  <p>The black is JFrame content and the red one is JPanel's.
  This happens a lot when resizing the JFrame. A little less, when resizing the frame from upper left corner, but still happens.
  The panel is not able to keep up with the frame change.</p>
  
  <p>Why, is it "fixable" ?</p>
  
  <p>Thanks</p>