Re: getting rid of text in TextArea
- From: Frances <fdr58@xxxxxxxxx>
- Date: Fri, 26 Aug 2005 15:50:40 -0400
Thomas Fritsch wrote:
thank you very much, I HAD looked in javadocs.. didn't know could do setText("") and it would get rid of what is already there... thank you.."Frances" <fdr58@xxxxxxxxx> wrote:
how do you dynamically get rid of text in a TextArea?
(no way of doing what in JS you would do like this
textArea.value = ""; ???
thank you..
Frances
There is a method doing exactly what you want. Learn to read the API spec.
Look through http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JTextArea.html#method_summary
and don't forget the inherited methods (of JTextComponent) just below.
.
- References:
- getting rid of text in TextArea
- From: Frances
- Re: getting rid of text in TextArea
- From: Thomas Fritsch
- getting rid of text in TextArea
- Prev by Date: Re: getting rid of text in TextArea
- Next by Date: Re: Custom JPanel that clips children?
- Previous by thread: Re: getting rid of text in TextArea
- Next by thread: Custom JPanel that clips children?
- Index(es):
Relevant Pages
|
|