title: how to make JTextPane the size of a piece of paper?
body: <p>OK, So i finally figured out how to print a <code>JTextPane</code>, and really have a fully functioning document editor. </p>
  
  <p>Anyway, Can I make the <code>JTextPane</code> the size of a piece of paper (with page breaks) So you can easily predict the appearance of the document you are typing? Any tips/hints would be helpful!</p>
  
  <p>edit: format of the <code>JTextPane</code> is <em>'text/rtf'</em>, if that helps.</p>