This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

converting XML data to JTextPane Styled format  RSS feed

Nagurva Reddy
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..
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!