title: JavaFX ListView Multiple Selection
body: <p>I want to select multiple items from ListView. It would react on mouse click. I tried with this:</p>
  
  <pre><code>selectedLogsList.addAll(logsListView.getSelectionModel().getSelectedItems());
  </code></pre>
  
  <p>but it was giving me duplicates.
  So I tried this:</p>
  
  <pre><code>logsListView.getSelectionModel().selectedItemProperty().addListener(
          new ChangeListener&lt;String&gt;() {
              @Override
              public void changed(ObservableValue&lt;? extends String&gt; ov, 
                  String old_val, String new_val) {
                      if(selectedLogsList.contains(new_val)) {
                          selectedLogsList.remove(new_val);
                      } else {
                          selectedLogsList.add(new_val);
                      }
          }
      });
  </code></pre>
  
  <p>I would also like that, if cell is selected, it should be marked as such (different background color)
  Thanks!</p>