List<String> doItBackground(Strint... url)
void onPostExecute(List<String> list)
AsyncTask<String, Void, List<String>>
class FilterController{
...
public void setFilter(filter){
textView.setItems(filter.observableList());
}
}
loader = FXMLLoader(getClass().getResource("sampleFilter.fxml"));
filterController = loader.getController();
...
filter = new Filter("ооо ккк аррр ыоо");
filterController.setFilter(filter);
primaryStage.show();
FXMLLoader loader = new FXMLLoader();
loader.setLocation(...FXFilter....);
controller = loader.getController();
controller.setFilter("один два три");
.....showAndWaite
columnWord.setCellValueFactory(new PropertyValueFactory<DataFilter, String>("word"));
columnFrequency.setCellValueFactory(new PropertyValueFactory<DataFilter, Integer>("number"));
Filter filter = new Filter("один два три");
tableView.setItems(filter.observableList());