I wanna ask .... if I want to save the content of JEditorPane or JTextPane in a file without losing the formatting ... how should I do it ....
If I save it to a string ... all the formatting is lost .
nanosani
20
Technize.net addict
Team Colleague
Recommended Answers
Jump to PostHi everyone,
I know you asked this question some time ago but i now know how to do this. First get the document of the jtextpane and then save it as an object for a saving function and load it as a object and then referencing it as a document
…
All 3 Replies
nanosani
20
Technize.net addict
Team Colleague
freesoft_2000
9
Practically a Master Poster
nanosani
20
Technize.net addict
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.