This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print Text

 
Marcus Senna
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to print the text in a JTextArea, which is in a JScrollPane. Right now i am only able to print what is viewable in the JScrollPane. I would like to print all of the text in the JTextArea. Below is the code i have been using. Thanks!!
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this possible to print the value inside JTextArea without using setText() or writeTextArea method??
 
Marcus Senna
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The writeTextArea method is called by an object of my system, to display the status of that object on the JTextArea.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic