title: Java Swing: JTextArea columns question
body: <p>How do I put the text in specific columns with jTextArea?</p>
  
  <pre><code>        private javax.swing.JTextArea jTextArea1;
          jTextArea1.setColumns(4);
          jTextArea1.insert(price, 0);    //column 1
          jTextArea1.insert(cost, 0);    //column 2
          jTextArea1.insert(quantity, 0);       //column etc..
          jTextArea1.insert(itemName, 0);
          jTextArea1.insert("\n", 0);
  </code></pre>