This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes printing from a JTextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "printing from a JTextArea" Watch "printing from a JTextArea" New topic

printing from a JTextArea

oghenekaro EFEKODO
Ranch Hand

Joined: Oct 10, 2005
Posts: 56
I want programmers to help me out. i want the code to print from a JTextArea.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 44576
Look through the API for JTextArea and you should be able to find how to get the text.
I agree. Here's the link:
subject: printing from a JTextArea
It's not a secret anymore!