Fórum Adicionar Linha em JTable #566397
15/08/2011
0
tabela.add.Row
tabela.addRowSelectionInterval(WIDTH, WIDTH);
Douglas Antonio
Curtir tópico
+ 0Post mais votado
15/08/2011
DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); Object[] linha = //alguma linha model.addRow(linha);
Douglas Eric
Gostei + 1
Mais Posts
15/08/2011
Douglas Eric
DefaultTableModel model = (DefaultTableModel) jTableBlog.getModel();
String postagem = novaPostagem.getText();
model.add(postagem); //ou model.addRow(postagem);
Gostei + 0
15/08/2011
Douglas Eric
Gostei + 0
15/08/2011
Douglas Eric
Gostei + 0
15/08/2011
Douglas Eric
DefaultTableModel model = (DefaultTableModel) jTableBlog.getModel();
String postagem = novaPostagem.getText();
model.add(postagem); //ou model.addRow(postagem);
model.setRowSize(model.getRowSize()+1);
Gostei + 0
15/08/2011
Douglas Eric
Gostei + 0
15/08/2011
Douglas Eric
Gostei + 0