• 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