• Post Reply Bookmark Topic Watch Topic
  • New Topic

Advice for DefaultStyledDocument implementation

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

For about 2 years I developed a wysiwyg client (Text,tables etc ).

I used the HTMLDocument and added Attributes to the model. Now I want to roll my own implementation where the users sees the bold, sub, super, italic colors and so on but as a model I would like to have an XML Document.

Any pointers? I've tried to search for tutorials, examples on this subject but with no luck.

// Mathias
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I finally found this but I'm not clear on how to back up the document ( the view ) with a xml document.

http://java.sun.com/products/jfc/tsc/articles/text/editor_kit/index.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!