title: icon on jlabel get the size of the jlabel
body: <p>I'm using a Jlabel with an icon in swing. I chose an image from my computer as the icon and  I can't find a way to make it resize automatically to the size of the Jlabel. Because the image I want is much bigger then the size of the Jlabel i'm only seeing a small part of it.
  Is there any way to solve this problem so I won't need to resize each image before importing it to the project?</p>