Item, Integer> colX = new TableColumn<>();         colX.setCellValueFactory(new PropertyValueFactory<Item, Integer>("x"));         table.getColumns().add(colX);          primaryStage.setScene(new Scene(table));         primaryStage.show();          new Thread(() -> {             while (true) {                 