• Post Reply Bookmark Topic Watch Topic
  • New Topic

Appending to a JTextPane

 
Ajay Patel
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I want to append all the formatted Text of a JTextPane to another JTextPane which already has some formatted and multicolored text in it. I can append the text in one JTextPane to another, but I want to maintain the formatting also. There are no readymade functions for this. If anyone has done this earlier, then please advice on the approach. If you can provide me a code snippet, it would be great.
Thanx.
Aj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!