title: "Concatenating" andFilter and orFilter for RowFilter
body: <p>I have a JTable with four columns, the first one containing either a number or a text, the other three only text. I'm trying to filter this table with the help of a RowFilter:  </p>
  
  <pre><code>sorter = new TableRowSorter&lt;TableModel&gt;(myOwnTableModel);
  </code></pre>
  
  <p>The checkboxFilter I got works well enough:</p>
  
  <pre><code>sorter.setRowFilter(RowFilter.regexFilter("^[0-9]$", 0));
  </code></pre>
  
  <p>This sorter is activated or deactivate depending on a checkbox that is either set or not.<br>
  The second filtering happens if a user puts some text in a textfield. For itself, this works fine already:</p>
  
  <pre><code>String regex = "(?i)" + Pattern.quote(s); // s = input Text of user
  sorter.setRowFilter(RowFilter.regexFilter(regex, 1,2,3));
  </code></pre>
  
  <p>What I can't do, is to activate both filters at the same time. Maybe I'm thinking way too far, my idea has been to "concatenate" the two filters, the checkboxFilter should be "and" the other "or". I tried several things, to me the most promising looked something like:</p>
  
  <pre><code>String regex = "(?i)" + Pattern.quote(s);
  bookFilter = RowFilter.regexFilter(regex, 1,2,3);
  sorter.setRowFilter(bookFilter.andFilter(Arrays.asList(
                      RowFilter.regexFilter("^[0-9]$", 0))));
  </code></pre>
  
  <p>Unfortunately, this doesn't lead to any usable result. Any ideas appreciated :)</p>