title: Java Swing JtextField inset
body: <p>I am working with Netbeans GUI and I would like to add 3 pixels of space at the beginning of my jTextField :</p>
  
  <p><img src="https://i.stack.imgur.com/73TzM.jpg" alt="enter image description here"></p>
  
  <p>I have tryied with setMargin, setInset in the GUI but it doesn't change anything.</p>
  
  <p>I have another question, why the bottom right border is not rounded ? here is my code :</p>
  
  <pre><code>Border roundedBorder = new LineBorder(new Color(210,210,210), 1, true);
  researchTextField.setBorder(roundedBorder);
  </code></pre>
  
  <p>thank you very much,</p>
  
  <p>Regards</p>