First of all please rename your class to something different -
Frame
is taken by
AWT
, that can ruin your day to use that name.
You should read here:
How to Use Tables in Swing[
^] @ Oracle tutorials.
You have a data binding - or at least try to make one. Please check if you have a LabelProvider and if the Model you set from the DB data is valid.
Let your TableSorter also work that generic way - you add it to the table and define the sorting rules in the custom table sorter you create.
That's it, no need to set the model new like you seem to do in filterTables();