I'm working on a project, where I have a JTable, with different types of data, a JTextField, where you can set, your filter criteria, and a DropDown menu, to select the column.
When I'm filtering, I'm using this method...
RowFilter.regexFilter("(?i)" + filterField.getText(), columnToFilter);
to filter the rows.
However, on Date objects I have a little problem. In the table I display the Date in this format: 2017.04.15, but the filter uses the default toString() format of the Date (Fri May 05 05:47:46 CEST 2017).
My question is, if there is any way, I can force the regexFilter(), to use the date, in a different format?