I need to display a multiline, read-only text - which control can be used for that? It should only display the text, like a Label does, however Label does not support multil
You can also use Text to appear in multiline, by setting wrappingWidthProperty according to your needs.
Text text = new Text(); text.wrappingWidthProperty().set(345);
In this code, I have set max width to 345.0 ,So When the text's size reaches beyond 345 pixels will be wrapped to next Line.
345.0
345