aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes clearing a text area Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "clearing a text area" Watch "clearing a text area" New topic
Author

clearing a text area

Victoria Preston
Ranch Hand

Joined: Feb 03, 2006
Posts: 106
How do you clear the contents of a text area?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18989
    
    8

Set its value to a zero-length string:
Victoria Preston
Ranch Hand

Joined: Feb 03, 2006
Posts: 106
thanks!
 
wood burning stoves
 
subject: clearing a text area