Insert one DefaultStyledDocument into another DefaultStyledDocument
- by Paul Reiners
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?