title: How to set the line spacing in a JtextPane?
body: <p>First of all, i set the JTextPane like this:</p>
  
  <pre><code>HTMLEditorKit editorKit = new HTMLEditorKit();
  HTMLDocument document = (HTMLDocument) editorKit.createDefaultDocument();
  JTextPane textPane = new JTextPane();
  textPane.setContentType("text/html");
  textPane.setDocument(document);
  </code></pre>
  
  <p>and i want to set the line spacing in the JtextPane , this is my idea,but it can't work:</p>
  
  <pre><code>SimpleAttributeSet aSet = new SimpleAttributeSet();
  StyleConstants.setLineSpacing(aSet, 50);
  textPane.setParagraphAttributes(aSet, false);
  </code></pre>
  
  <p>i was wrong?</p>