title: Printing table in java
body: <p>I have a <code>JTable</code> in my application which I need to print. The printed page should contain only the table and some text above and below the table. So I ask what is easiest way to do this?</p>
  
  <p>Do I need to create some kind of document, and then import the table in document and add the text, and then print the document?</p>