title: JavaFX - TableView - setItems : The method setItems(ObservableList) in the type TableView is not applicable for the arguments (ObservableList)
body: <p>I've a problem when I try to set my items into a tableView, for information I use SceneBuilder.</p>
  
  <p>Main.java : </p>
  
  <pre><code>public class Main extends Application {
  private static Stage theStage;  
  public static void main(String[] args) throws Exception {
      testDatas();
      launch();
  }
  
  public void start(Stage stage) throws IOException {
      theStage = stage;
      Group acteur = new Group();
      acteur.getChildren().add(
      FXMLLoader.load(getClass().getResource("views/options.fxml")));
      theStage.setTitle("Where's My Money");      
      Scene scene = new Scene(acteur, 1280.0, 720.0);
      theStage.setScene(scene);
      theStage.show();
  }
  
  public static void initialize() {
      launch();
  }
  
  public static void setScene(Group acteur, String titre) throws IOException {
      Scene scene = new Scene(acteur);
  
      theStage.setTitle(titre);
      theStage.setScene(scene);
      theStage.show();
  }
  }
  </code></pre>
  
  <p>views/ControllerOptions.class</p>
  
  <pre><code>public class ControllerOptions implements Initializable{
  
  @FXML private TableView&lt;?&gt; TV_currency;
  @FXML private TableColumn&lt;Currency, String&gt; TC_name;
  @FXML private TableColumn&lt;Currency, Double&gt; TC_value;
  private ObservableList&lt;Currency&gt; currencies = FXCollections.observableArrayList();
  
  //FUNCTIONS
  @Override
  public void initialize(URL location, ResourceBundle rb){
      //initialisation Table Currencies
      for (Currency currency : Datas.getInstance().getCurrencies()) {
          currencies.add(currency);
      }       
      TC_name.setCellValueFactory(new PropertyValueFactory&lt;Currency, String&gt;("name"));
      TC_value.setCellValueFactory(new PropertyValueFactory&lt;Currency, Double&gt;("value"));
      TV_currency.setItems(currencies); // &lt;= HERE'S THE ERROR
  }
  }
  </code></pre>
  
  <p>Models/Currency.class</p>
  
  <pre><code>public class Currency {
  
  private String name;
  private double value;
  
  public Currency(String name, double value) {
      setName(name);
      setValue(value);
  }
  
  public void setName(String name) {
      this.name = name;
  }
  public String getName() {
      return name;
  }
  
  public void setValue(double value) {
      this.value = value;
  }
  public double getValue() {
      return value;
  }
  }
  </code></pre>
  
  <p>I've this error :
  <strong>The method setItems(ObservableList) in the type TableView is not applicable for the arguments (ObservableList)</strong></p>
  
  <p>If you can help me I'll be very gratefull.</p>
  
  <p>Thanks in advance</p>