Clear Method (JTextComponent)

Class

JTextComponent class

Action

Removes all the text from text component.

Syntax

textComponent.Clear()

Examples

TextComponent.Clear()