The simplest way to remove all rows from JTable, just use this method instead...
tablemodel.getDataVector().removeAllElements();
tablemodel.fireTableDataChanged();
tablemodel is the model...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: AbdulJabbar WebBesto Search: Search took 0.01 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |