Crossposted:
• http://stackoverflow.com/questions/37436595/how-to-use-textflow-from-fxml
• http://www.coderanch.com/t/666101/JavaFX/java/TextFlow-FXML#3105251
I am trying to use TextFlow coming from FXML but no text is shown.
I have tried:
textflow.getChildren.add(text);
and also:
textflow=new TextFlow(text);
where text is:
Text text=new Text("AAA");
I both cases TextFlow shows nothing.
Is there another container for use with rich text using FXML JavaFX app?
For sure if I try both cases in non-FXML JavaFX app it works both of them.