Re: How to print a JTextArea?
- From: "Dan Andrews" <danharrisandrews@xxxxxxxxx>
- Date: 21 Mar 2007 10:54:04 -0700
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
.
- References:
- How to print a JTextArea?
- From: layne79
- Re: How to print a JTextArea?
- From: Dan Andrews
- Re: How to print a JTextArea?
- From: layne79
- How to print a JTextArea?
- Prev by Date: Requesting tips, comments for an EDT thread-safe game architecture
- Next by Date: Re: implementing paint
- Previous by thread: Re: How to print a JTextArea?
- Next by thread: Re: How to print a JTextArea?
- Index(es):