title: Printing a jtable with specific text before and after of it
body: <p>I studied the example code <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/table.html#printing" rel="nofollow">here</a> about printing a jtable and works fine for me. 
  Now I came on an other problem. How can I define a text to be printed before and sometimes after the jtable contents? Would it be suitable to create a html header or footer and insert it like the tutorial code indicates ? Or is a better way to do it?
  The text will be consists from several static lines and some with values that the user predefines before the jtable will be created. </p>