• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to print a jtable??  RSS feed

 
Thiago Souto Maior
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
someone can gimme an example how to do it??
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sun has a tutorial on printing:
http://java.sun.com/docs/books/tutorial/2d/printing/index.html

another way to print the table data is to use this framework:
http://www.object-refinery.com/jfreereport/index.html
it provides printing preview and printing of TableModel and more. and it's free.
cheers,
Chantal
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i also use JFreeReport in a past project ...
Verry good!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!