title: How to populate a JTextPane
body: <p>I have an array of string and would like to add them one by one to the <code>JTextPane</code>, each of which to be separated by a new line. How would I go about achieving this?</p>