title: How insert items to tableview with bind to combobox?
body: <p>when select from combobox item the tableview refresh ok.</p>
  
  <pre><code>ObservableList&lt;Specie&gt; species = FXCollections.observableArrayList();
  
  //the tableview items depends on genderComboBox selected item
  livingBeingTableView.itemsProperty().bind(Bindings.createObjectBinding(() -&gt; {
              Gender gender = genderComboBox.getValue();
              if (gender == null) {
                  return FXCollections.observableArrayList();
              } else {
                  int id = gender.getId();
                  //seachSpeciesIdGender(int id) find the species with the id associated
                  species = SpecieDAO.searchSpeciesIdGender(id);
                  return species;
              }
          }, genderComboBox.valueProperty()));
  </code></pre>
  
  <p>the problem is. When insert new item and add it to tableview</p>
  
  <pre><code>    private void handleNewSpecie() {
              Specie tempSpecie = new Specie();
              boolean okClicked = main.showSpecieEditDialog(tempSpecie);
              if (okClicked) {
                  SpecieDAO.insertSpecie(tempSpecie.getCommonName(), tempSpecie.getScientName(),
                          genderComboBox.getValue().getId(), 0, 0,
                          0, 0, 0);
                  int id = genderComboBox.getValue().getId();
                  species = SpecieDAO.searchSpeciesIdGender(id)
                  livingBeingTableView.setItems(species);
              }
          }
  </code></pre>
  
  <p>A bound value cannot be set</p>
  
  <pre><code>Caused by: java.lang.RuntimeException: TableView.items : A bound value cannot be set.
      at javafx.base/javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:143)
      at javafx.controls/javafx.scene.control.TableView.setItems(TableView.java:862)
      at cu.edu.cujae.guatini.controller.MainController.handleNewSpecie(MainController.java:213)
      ... 62 more
  </code></pre>
  
  <p>Is possible to insert items with bind tableview to combobox? What am i doing wrong? Thanks and sorry for my english</p>