This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Print JTable problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Print JTable problem" Watch "Print JTable problem" New topic

Print JTable problem

Laurent Saudmont

Joined: Jul 05, 2002
Posts: 5
I want to print a JTable, so that i use the code from java sun tutorial and it workds correctly....but i would want to create the JTable and not display it. In this case, when i print this, no data is printed.
If someone knows a solution...
Thanks a lot
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I have a suggestion: you can convert data into Excel file and print it.
I agree. Here's the link:
subject: Print JTable problem
It's not a secret anymore!