aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Print Text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Print Text" Watch "Print Text" New topic
Author

Print Text

Marcus Senna
Greenhorn

Joined: Feb 22, 2007
Posts: 21
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

Joined: Dec 06, 2005
Posts: 1321

Is this possible to print the value inside JTextArea without using setText() or writeTextArea method??


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Marcus Senna
Greenhorn

Joined: Feb 22, 2007
Posts: 21
The writeTextArea method is called by an object of my system, to display the status of that object on the JTextArea.
 
Don't get me started about those stupid light bulbs.
 
subject: Print Text