• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing jtable with text before and after it (not header and footer)

 
Evangelos Meintasis
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to print a jtable and the print method works great till I come to this scenario. Lets say I want to print before , in the first page only (not header) the text "Report" and on the end the text "This is the end of report". I would like once more to clarify that I dont need a header or footer only this text to appear in the top of the first and bottom of the last page when I print them.

How can I do this?
Please keep it simple as I am new in Java!
Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic