title: How to resize JLabel ImageIcon?
body: <p>I'm making a Java Swing application that has the following layout (<a href="http://www.miglayout.com/"><code>MigLayout</code></a>):</p>
  
  <pre><code>[icon][icon][icon][....]
  where icon = jlabel and the user can add more icons
  </code></pre>
  
  <p>When the user adds or removes icons, the others should shrink or grow.</p>
  
  <p>My question is really straightforward: I have a <code>JLabel</code> which contains an <code>ImageIcon</code>; how can I resize this icon?</p>