I have a text editor that I have created using a JTextPane. The text is stored in html, so I am using the HtmlEditorKit with the JTextPane. The user wants to be able to copy text from a Microsoft Word document into the text editor. Right now, when they try to copy the text into the editor, it simply does nothing and the text does not appear. But when they copy from Notepad, it does work.
Is there something about the JTextPane or the HtmlEditorKit (or HtmlDocument) that does not allow text from a program like Word to be inserted?
Is there a way around this?