title: Move a label to a new position relative to its original position in java (Netbeans)
body: <p>I have a label and I want to move it to a new position relative to its previous one. Below is what I have done but its not working.</p>
  
  <pre><code>Insets insets = slabel.getInsets();
  slabel.setLocation(30 + insets.top, insets.top);
  </code></pre>
  
  <p><code>slabel</code> is the label. Basically what I want is, say if original the label was at (20, 30) then move it to (50, 30).
  How to do it?</p>