title: Read multiple selection from TableView in JavaFX 2.0
body: <p>I am trying to get the selection from a TableView in JavaFX 2.0. I have stored 5 Persons (5 rows) in the TableView. The code to get the selection model is:</p>
  
  <pre><code>TableView&lt;Person&gt; tableView =
  myStage.getTableView();
  
  ObservableList&lt;Person&gt; selection = 
  tableView.getSelectionModel().getSelectedItems();
  
  System.out.println(selection.size());
  </code></pre>
  
  <p>Now when I select multiple rows and then execute the method including the above code, the following prints the selection * 2 and sometimes the selection * 3. For example: I select all 5 rows and it prints out a size of 10 and sometimes 15!</p>
  
  <p>What am I doing wrong here?</p>