954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

JTextArea

I wanted to know if its possible to change the text of a JTextArea or JTextPanel from another method and if so how?

Progr4mmer
Junior Poster
113 posts since Nov 2009
Reputation Points: 11
Solved Threads: 10
 
I wanted to know if its possible to change the text of a JTextArea or JTextPanel


yes

from another method


yes

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

mKorbel
Veteran Poster
1,141 posts since Feb 2011
Reputation Points: 480
Solved Threads: 224
 

thanks

I wanted to know if its possible to change the text of a JTextArea or JTextPanel


yes

from another method


yes

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

Progr4mmer
Junior Poster
113 posts since Nov 2009
Reputation Points: 11
Solved Threads: 10
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: