This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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
 
Similar Threads
Fancy Text Area
Changing styles at runtime , problem with ViewStack
StyledDocuments Image Alignment
Setting the width of a JTextPane
append contents of a jtxetpane into another jtextpane