Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Append text to textarea from another class  RSS feed

 
Nguyen Tien Dung
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Class 1 open main frame
Class2 add panel for main frame
class3 append text to Jtextarea (of panel class2)
 
Campbell Ritchie
Sheriff
Posts: 53773
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Please explain more of what you want. You would often make the text area a local variable in a constructor or setUpGUI method, so it would not be accessible elsewhere.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!