The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001



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.


JEditor-Pane once again

Posted by Andre Mengel on July 13, 2001 at 8:41 AM

Hi Java-Experts !

I am having a problem concerning JEditorPane.
I want to display an HTML-File by using the setPage
method of the JEditorPane Class.
The HTML-File also contains the following IMG-Tag

img src="file:\\C:\\verz1\\example.gif' width="100" height="100" /img.

The problem is that the whole text of my HTML-File is displayed
but not the image.
Instead of that only a default error image appears.
Any solutions would be appreciated.

Thanx in advance,



Sponsored Links

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