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
If you set a max width you want for your Label, then you set setWrapText to true so it displays the text multiline:
Label
setWrapText
true
Label label = new Label("Your long text here"); label.setMaxWidth(180); label.setWrapText(true);