Stage::display()
Displays the given text on the stage.
Syntax
Java
.display(text)
.display(text, millis)
Parameters
| Name | Data Type | Description |
|---|---|---|
| text | String | the text to be displayed |
| millis | int | The duration in milliseconds for which the text will be displayed. |
Return
void
