SetText Method (JTextComponent)

Action

Sets the text content to the specified text.

Syntax

C#
textComponent.SetText(text)
VB
textComponent.SetText(text)
Variable Description
text The new text content. String.

Examples

VB

textComponent.SetText("blue")