Insert Method (JTextArea)

Class

JTextArea.

Action

Inserts the specified text at the specified position.

Syntax

C#
textArea.Insert(text, pos)
VB
textArea.Insert(text, pos)
Variable Description
text The text to insert. String.
pos The position at which to insert text. The value is zero-based. Integer.

Examples

VB

textArea.Insert("magenta", 5)