title: Java JTextpane Tab Size
body: <p>I am writing a Java program, and I use in some part of the program a JTextpane.
  In this JTextpane I use tabs (\t) to make columns,  something like:</p>
  
  <pre><code>txtpnMTrace = new JTextPane();
  txtpnMTrace.setFont(new Font("Dialog", Font.PLAIN, 11));
  doc = txtpnMTrace.getStyledDocument();
  ...
   doc.insertString(doc.getLength(),value1+"\t"+value2+"\t"+value3+"\n", null);
  
  ...
  </code></pre>
  
  <p>I can see the values in columns at tab (\t) distance.
  The tab distance is always the same, and I want to change this distance to improve the look.</p>
  
  <p>Do you know How Can I change the tab (\t) size in JTextPane?</p>
  
  <p>Thanks in advance.</p>