You're going to have write the code...Start by checking out how to use tables, in particular sorting and filtering
The basic requirement would be to attach an ActionListener
to both the field and button (you can do this from the form editor if you wish).
Within the actionPerformed
event handler method, you need to create a RowFilter
and apply it to the tables RowSorter
.
A table can be configured to automatically create a row sorter by setting the autoCreateRowSorter
property to true
.
It's all explained nicely in the linked tutorials...
And another example