Property::setText()
This works in a project you run on your own computer, but not in the examples you can start here in the browser. There is no file system, no video encoder and no OpenGL behind a web page, so calling it there tells you as much and does nothing.
Multi-line strings are written as the element's text instead of a value attribute.
Syntax
Java
.setText(text)
Parameters
| Name | Data Type | Description |
|---|---|---|
| text | String | the element text |
Return
void