Try adding a ComponentListener to the JTable. They have methods for showing, hiding, resizing, and moving components. JTable inherits the addComponentListener from java.awt.Component, which is why you might have missed.
Joined: Apr 11, 2004
Apparently the JTable created Resize events instead of visible events which is why I was missing it.
Thanks all for your help.
Joined: Jul 14, 2005
Well this is crude, but take a look at this and see if it helps. BTW; if you removed the table1.setVisible(false) our of the constructor the componentShown() event fires when the table is added.
[ August 17, 2005: Message edited by: Stephen Boston ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com