title: Adding margins in a JTextArea?
body: <p>So I have a <code>JTextArea</code> which shows the text right from the top left corner. I want some margin on all 4 sides, so there's some space between text and boundary of the area.</p>
  
  <p>I have researched a lot and could not find any solution. How can I do it?</p>
  
  <p>Also, I was thinking maybe put up a label on all 4 sides to create dummy margin. How can I create a <code>JLabel</code> with certain width and height?</p>