Oi Julio...

Tente aplicar a mesma ideia do JList ao JTable... Deve ficar mais ou menos 
assim:

DefaulTableModel model = new DefaultTableModel(linha,coluna);

JTable tabela = new JTable(model);

Dai em diante voce usa os metodos do DefaultTableModel para editar a tabela:

void addRow(Object[] rowData) : Adds a row to the end of the model. 
int getRowCount() : Returns the number of rows in this data table. 
void insertRow(int row, Object[] rowData) : Inserts a row at row in the model. 
void moveRow(int start, int end, int to) : Moves one or more rows from the 
inlcusive range start to end to the to position in the model. 
void setRowCount(int rowCount) : Sets the number of rows in the model. 

E assim vai...

T+

Marcelo


------------------------------ LISTA SOUJAVA ---------------------------- 
http://www.soujava.org.br  -  Sociedade de Usuários Java da Sucesu-SP 
dúvidas mais comuns: http://www.soujava.org.br/faq.htm
regras da lista: http://www.soujava.org.br/regras.htm
historico: http://www.mail-archive.com/java-list%40soujava.org.br
para sair da lista: envie email para [EMAIL PROTECTED] 
-------------------------------------------------------------------------

Responder a