The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

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.

Message:

HELP

Posted by fido on June 10, 2001 at 4:05 AM

> > hi Hema,

>
> U need to make a vector of column names and directly pass this vector into the constructor of JTable class.
> If u need dynamic column names to de displayed then define a table model for that table and use setColumn(Vector) method.
> Set this model after everytime u set new columns by using the setModel(TableModel) method.






Replies:

Sponsored Links



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