Problems with printing a JTable

From: Andr?s (tamas.andras_at_freemail.hu)
Date: 03/31/04


Date: 31 Mar 2004 05:55:04 -0800

I have a JTable on one screen that should be printed. But first it
must be customized, coloumnwidth and stuff, whitch will be done in
another class. I'm passing the table from the screen to the
customizing class, which also does the printing, and take the model
from the passed JTable and add it to the customized JTable which will
be printed. This is where the problem arises. If I put the new JTable
(with the old model) on a panel it looks great and all the
customization is made, but it doesn't print it. When I use the old
table and customize it, it looks great and it prints the JTable as it
is supposed to. I've tried everything and I'm stuck.

Tia

András