The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

How to insert image in HTML document contained in JTextPane

Posted by Arun Gupta on March 08, 2001 at 8:37 AM

Hi,

I am trying to edit HTML files in JTextPane. The html file is correctly displayed but it behaves incorrectly when I try to insert images and components like tables and buttons into it. I am also not able to change the bold, italic and underline styles of the html text. How can I make JTextPane to perform these tasks?

Any help will be appreciated. Thanks.

Arun Gupta.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us