Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
clearing a text area
Victoria Preston
Ranch Hand
Posts: 106
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How do you clear the contents of a text area?
Paul Clapham
Marshal
Posts: 28177
95
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Set its value to a zero-length
string
:
theTextArea.setText("")
Victoria Preston
Ranch Hand
Posts: 106
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks!
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Scea Part III
My unbelievable stupid mistake in Part III
textarea and conditional READONLY
how to replace a value in I E from a pop up window without refreshing the parent page
XHTML based editor on a servlet based application?
More...