Insert one DefaultStyledDocument into another DefaultStyledDocument

Posted by Paul Reiners on Stack Overflow See other posts from Stack Overflow or by Paul Reiners
Published on 2010-04-16T19:57:57Z Indexed on 2010/04/16 20:03 UTC
Read the original article Hit count: 182

I want to insert one DefaultStyledDocument into another DefaultStyledDocument. How do I do this? I know of this method:

AbstractDocument.insertString(int offs,
                         String str,
                         AttributeSet a)

What I really want is something like this:

DefaultStyledDocument.insertDocument(int offs,
                         AbstractDocument doc)

Is there a way of doing this?

© Stack Overflow or respective owner

Related posts about abstractdocument

Related posts about defaultstyleddocument