• Post Reply Bookmark Topic Watch Topic
  • New Topic

printing a jtable  RSS feed

 
Niels Tielenburg
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a swing JTable of about 20 rows ans 40 columns that I want to print on paper. I tried the table.print() method but that doesn't work, I just get one big empty cell on the paper. I tried an example from another site and that one works perfectly (http://java.sun.com/docs/books/tutorial/uiswing/misc/printtable.html). Does anyone know what's going wrong? Is my table too large for the paper and do I need to resize it, and if so how?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!