title: How do i have a background image resize in a java gui?
body: <p>So im making a gui, and i have a background image for it. i dont know how to make it set as the background, so any help with that would be good. an explination would also be good. also, after we get that image as a background, how do we get the image resize to the size of the window. such as <code>
  image.setSize(frame.getHeight(), frame.getWidth());
  </code> 
  but i dont know if that would work. the image name is ABC0001.jpg and the frame name is frame. thanks!</p>