Clear Method (JTextComponent)
Class
JTextComponent
.
Action
Removes all the text from text component.
Syntax
textComponent
.
Clear
()
Examples
textComponent.Clear
()