• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing a Swing form onto a printer  RSS feed

shashikanth sastry
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.


Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!