aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes converting XML data to   JTextPane Styled format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "converting XML data to   JTextPane Styled format" Watch "converting XML data to   JTextPane Styled format" New topic
Author

converting XML data to JTextPane Styled format

Nagurva Reddy
Greenhorn

Joined: Jul 10, 2001
Posts: 7
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...

Nagurva
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: converting XML data to JTextPane Styled format