This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
 
jQuery in Action, 2nd edition
 
subject: converting XML data to JTextPane Styled format
 
Similar Threads
append contents of a jtxetpane into another jtextpane
Fancy Text Area
Setting the width of a JTextPane
Changing styles at runtime , problem with ViewStack
StyledDocuments Image Alignment