The Artima Developer Community
Sponsored Link

Java Answers Forum
Insert one DefaultStyledDocument into another DefaultStyledDocument

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Paul Reiners

Posts: 3
Nickname: reiners23
Registered: Feb, 2010

Insert one DefaultStyledDocument into another DefaultStyledDocument Posted: Jun 9, 2010 8:06 AM
Reply to this message Reply
Advertisement
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?

Topic: Why is this a loss of precision error? Previous Topic   Next Topic Topic: trouble with JApplet

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use