File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes How to copy styled text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to copy styled text" Watch "How to copy styled text" New topic
Author

How to copy styled text

Steli Niculescu
Greenhorn

Joined: Jul 14, 2009
Posts: 14
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to copy styled text