RowFilter (final IFilterEditor editor) { final int modelIndex = editor.getModelIndex(); return new RowFilter() { @Override public boolean include(Entry entry) { Object o = entry.getValue(modelIndex); if (o == null) { return true; } if (editor.getRenderer() != null) { return false; } Format fmt = editor.getFormat(); String s = (fmt == null) ? o.toString() : fmt.format(o); return (s == null) || (s.trim().length() == 0); } }; }