Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to copy styled text

 
Steli Niculescu
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm making a text editor using JTextPane and i noticed that ctrl + c and ctrl + v use only plain text, ignoring styles.
How can i copy text, including its styles?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic