• Post Reply Bookmark Topic Watch Topic
  • New Topic

Append text to textarea from another class

 
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
Marshal
Posts: 52549
119
  • 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!