Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converting XML data to JTextPane Styled format

 
Nagurva Reddy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai friends...
i am using JTextPane in my application.i am able to set the different type of styles in TextPane.Now i want to store all these styles in xml format.
i am storing styles into xml format as follow
i am getting DefaultRootElement() ,then i am able constructing DOM tree.
now i have xml file.
when i restart the application ,now i want to set the styles stored in xml file to TextPane..
pl help mee..
thanks...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic