text property

String text
final

The text to display in this widget. The text must be valid xml.

Tag attributes must be enclosed in double quotes. You need to escape specific XML characters in text:

Original character  Escaped character
------------------  -----------------
"                   "
'                   '
&                   &
<                   &lt;
>                   &gt;
<space>             &space;

Implementation

final String text;