P
Parvinder
A doubt
How do i remove all the rows from a DefaultTableModel.There is a method
to remove a particular row (removeRow(int row)) but no method to remove
all the rows at once..something like model.clear() or model.removeAll()
, etc
Some say that the recommended way of setting a model to a table is
write your table model and supply the data to the table (using
getValueAt()) ..
Does sun recommend this ?
~Parvinder
How do i remove all the rows from a DefaultTableModel.There is a method
to remove a particular row (removeRow(int row)) but no method to remove
all the rows at once..something like model.clear() or model.removeAll()
, etc
Some say that the recommended way of setting a model to a table is
write your table model and supply the data to the table (using
getValueAt()) ..
Does sun recommend this ?
~Parvinder