Convert contents of JTextArea / JEditorPane to PDF
Dear Forum,
I want to transfer the text or contents of JTextArea or JEditorPane to a PDF file. Also, I want to transfer the contents of a text file (.txt and .rtf) into a PDF file. Are there any Java classes / packages available for this?
Thanks and regards,
K. Rangarajan.
Re: Convert contents of JTextArea / JEditorPane to PDF
Re: Convert contents of JTextArea / JEditorPane to PDF
Hello rangarajank.
I would look into iText
iText, a Free Java-PDF Library: Home Page