title: JTextPane - dynamic word wrap
body: <p>I tried to use <code>jTextPane1.setText("xxx xxxx xxx xxxxx xx xxx xxxx xxx etc...");</code> but <code>JTextPane</code> does not word wrap it at all showing all the text in one line only instead.
  It would be interesting to support word wrap on <code>jTextPane1</code> resized too...</p>
  
  <p>So my question is... 
  how to make <code>JTextPane</code> support word wrap?</p>