wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTable printing . . . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable printing . . ." Watch "JTable printing . . ." New topic
Author

JTable printing . . .

Sanjeev Charla
Ranch Hand

Joined: Apr 02, 2009
Posts: 90

Hi,
I have customized the column widths of a JTable to display properly on screen. But this size of the JTable doesn't looks good on the print when i set the JTable.PrintMode.FIT_WIDTH option, which produces small table on paper. But when the column widths are reduced on screen it looks very good on paper, and losses its look on screen.So, i want to make the table to fit width both on the screen and paper also. How to achieve this ?
Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable printing . . .
 
Similar Threads
Auto-Resize JTable columns based on content
NX: JTable and dbfile questions
Problems with JTable. Need help!!
JTable
jtable