• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to copy styled text  RSS feed

 
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
Boost this thread!