title: Set size for jLabel in swing
body: <p>I want to set a <code>jLabel</code> with <code>dimension(50,75)</code> inside a <code>JFrame</code>.</p>
  
  <p>I tried using</p>
  
  <pre><code>label.setPreferredSize(new Dimension(50, 75)); 
  </code></pre>
  
  <p>But it doesnt work.
  How can I do this?</p>