title: Java applet scale
body: <p>I have a java game that I have made, is it a Canvas in a JFrame to run as an application and an applet.</p>
  
  <p>When running as an applet, I want it so that when the user resizes the window, the game scales to fit the new size window. </p>
  
  <p>Is there anyway of resizing the canvas and all the images or shapes that I have drawn on it to fit the new size window, or do I have to go though and change the code on all my objects and the positions they draw?</p>
  
  <p>Any help would be very useful :)</p>