This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing a Swing form onto a printer  RSS feed

 
shashikanth sastry
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I need to print a swing form onto a printer. The swing form has
many components with one textarea inside a <bt>JScrollPane.The text area has a large text in it. When printing, the entire contents of the text area needs to be
printed along with other components with page continuity.

Right now, I have created a Printable Jpanel and adding
components to it and printing it.And before printing, i'm

expanding the text area to the no of rows equal to the no of
rows of text it has and printing the form. But only the first page is getting printed.

Any insight or suggestions will be appreciated.

thnx

-Sh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!