I wanted to know if its possible to change the text of a JTextArea or JTextPanel from another method and if so how?
I wanted to know if its possible to change the text of a JTextArea or JTextPanel
yes
from another method
and if so how?
well, but there are exists tons of methods that's descibed in API for exaxmple (with link to API too) http://download.oracle.com/javase/tutorial/uiswing/components/textarea.html
http://download.oracle.com/javase/tutorial/uiswing/components/textfield.html
http://www.java2s.com/Code/Java/Swing-JFC/CatalogSwing-JFC.htm
thanks I wanted to know if its possible to change the text of a JTextArea or JTextPanel