void () { String newPattern = "*" + myFilteringPattern; if (myMatcher.getPattern().equals(newPattern)) { return; } myMatcher = NameUtil.buildMatcher(newPattern).build(); fireTableDataChanged(); if (getSelectedClass() == null && getRowCount() > 0) { getSelectionModel().setSelectionInterval(0, 0); } }