Java JTextPane Save
Posted
by ikurtz
on Stack Overflow
See other posts from Stack Overflow
or by ikurtz
Published on 2010-04-27T16:36:01Z
Indexed on
2010/04/27
16:53 UTC
Read the original article
Hit count: 579
i was trying to do some simple text formatting using JEditorPane but then as knowledge grew i found JTextPane easier to implement and more robust.
my query is how do i save the formatted text in JTextPane to file? it should be RTF or HTML or other.. as this file is not opened by the application again.
it is a chat history text file with formatted text.
thank you.
© Stack Overflow or respective owner