• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with printing a JTable  RSS feed

 
andreas schmied
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
i hope someone can help me with my Problem.
I use a print-method for printing big swing Components on more then one Pages. It is like the Sun advanced printing example, only with the different that there is no scale and if the component is widther then one page that the method split the component and print it on more pages.
But now i have a Problem with the pageIndex. It increase only every second time. Normaly it is like 0-1-2-3-4-5... but in my apllication increase it like 0-0-1-1-2-2-...
Have someone a idea why this error happens and who i can reapir it?
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For me also, print() method is being called twice, but I am getting prints normally. This is not an error. If you are not getting prints, please paste your code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!