Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Appending to a JTextPane  RSS feed

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.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!