
-----------------------------------
S_Grimm
Fri Jan 16, 2009 12:47 pm

Clearing a JTextArea
-----------------------------------
Without putting a new JTextArea over the old one, is there any way to clear the JTextArea?

-----------------------------------
DemonWasp
Fri Jan 16, 2009 1:10 pm

RE:Clearing a JTextArea
-----------------------------------
JTextArea extends JTextComponent, which has the method setText ( String ). You can find this all easily through the JavaDocs: http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JTextArea.html
