Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Save a Styled Document as flat file  RSS feed

 
Chella Anu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTextPane and the Styled Document of this JTextPane must be saved as a flat file. When I start my Application again , the previous StyleDocument has to be loaded.
However as I have foreign characters and much formatted text, when I try to save using ObjectOutputStream , I get Not Serialized Exception.
Can any one help me to save this StyledDocument as flat file in the Disk?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!