Printing a Swing form onto a printer

shashikanth sastry

Greenhorn

Posts: 2

posted 16 years ago

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.