By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,806 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,806 IT Pros & Developers. It's quick & easy.

swing- How do I read *.doc (MS Word) into JTextPane?

P: 1
I'm using the apache POI to read MSWord documents. I'm using this example as a template:

The problem is I want the contents to read into a JTextPane. And insertString() is not recognized by HWPFDocument.

From the 'for' statement that prints to console from the example in the link above, how do change it to print to the JTextPane (if possible)?
Mar 31 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.