The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Marina Kuper on July 03, 2000 at 5:58 AM

The nodes of my JTree are rendered with the JLabel (default
implementation). I draw the tree a first time and the display
is OK (label are fully displayed).
I've created JTable and then I need to chande dynamically the number of rows and columns . I tryed to initialize the Table with the new number rows and columns , but it doesn't works .
JTable tbl = new JTable(2,2);
then tbl = new Table(5,7);
I tryed to repaint it e.t.c. , but it didn't help .
Does anybody know how to do it?



Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us