Re: How to print a JTextArea?



Sorry but I can't use JDK 1.6
May you suggest an alternative?
Thank you and bye.- Hide quoted text -

Personally, I'd likely implement a Printable that used the text area's
paint component method. The drawback is that you would need to
calculate the page breaks. There are lots of examples on the internet.
Here is a link to one solution that you can get to by a google for the
terms Printable JTextArea.

http://forum.java.sun.com/thread.jspa?forumID=57&threadID=212065

Cheers,
Dan Andrews
---------------------------
http://www.ansir.ca




.