Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing from JTextArea  RSS feed

 
John A Clark
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to print the contents of a JTextArea. Can anyone help me.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you familiar with printing in Java in general? If not, you may want to take a look at these resources for learning the printing API:
  • The Printing trail of Sun's Java Tutorial
  • Chapter 22 - Printing of the book Swing by Matthew Robinson and Pavel Vorobiev is available for downloading as are two other sample chapters at http://www.manning.com/Robinson/
  • A Five Part Series of Articles on Printing in Java at JavaWorld
  • Also, right now over at JavaLobby.org, they are providing a free download of the book JDK 1.4 Tutorial by Greg Travis. Chapter 3 covers the print service API.
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!