title: Two tableView and just one selection with JavaFx
body: <p>I have two tableViews in my application, and I want that just one stays enable per time.</p>
  
  <p>For example I have tableView1 and tableView2</p>
  
  <p>if tableView2 is selected (or focused) then tableView1 clear Selection.</p>
  
  <p>I've tried some codes, but they doesn't seems to work.</p>
  
  <pre><code>mainTableView2.focusModelProperty().addListener(new ChangeListener() {
  
              @Override
              public void changed(ObservableValue ov, Object t, Object t1) {
                  mainTableView1.getSelectionModel().clearSelection();
              }
          });
  </code></pre>