Originally posted by S Raman: I am calling MyModel.clearData() before adding the new resultVector to MyModel.
What's the code for clearData()? It seems like that isn't actually clearing the data. Also, don't forget to fire an event that the table's contents have been changed. AbstractTableModel's fireTableDataChanged or fireTableRowsDeleted should suffice.
Another question is This I am doing in Search JButton action performed method. should i use SwingUtilities.Invoke method
Only if performing the search in a different thread.