I would like to use a TextArea to log messages about what happend after each iteration. Currently all logs are apend to the end of the loop.
@FXML
private TextArea logBookTextArea;
for (Input x : inputList) {
    logBookTextArea.appendText("Czytam " +i+" produkt");
    id = dataDownloader.downloadID(x.getProducer_code());
    writer.print(x.getProduct_code() + ';');
    writer.print("0;");
    writer.print(producentChoiceBox.getSelectionModel().getSelectedItem().toString().toUpperCase() + ";");
    writer.print(x.getProducer_code() + ";");
    writer.print(x.getName() + ";");
    writer.print("Import - bez kategorii;");
    writer.print("4.6;");
    writer.print("20;");
    writeImages(id);
    logBookTextArea.appendText("OK");
    logBookTextArea.appendText("\n");
    i++;
}