posted 20 years ago
Hi,
To remove all rows and insert new ones (for example, after user performs a search and you want to display the results), just reset the table model for your JTable.
For example, consider your JTable is called mainTable, and your search returns a new TableModel, called tableModel. To refresh the table with the new data, just do:
B.S. University of Wisconsin<br />SCJP 1.4 (85%)<br />SCJD 1.4 (92%) B&S Contractors