🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11898

Re: GIFs in a JEditorPane?

#11898
From: Torgeir Veimo
Date: Thu, 11 Mar 1999 00:00
20 lines
1223 bytes
Don Lyman wrote:
> 
> Sure you can!  Here is an HTML code snippet that works for me:
> 
> <img src="../images/bug.gif" width="200" height="243" alt="bug.gif (18765
> bytes)">
> 
> Richard Stack wrote in message <36E3FAA5.E2D4FC77@cit.com>...
> >Hello,
> >
> >I am able to load an HTML page into a JEditorPane, but the GIFs don't
> >show up. I realise the name of the components indicate that this can't
> >be done but,  is there anyway to display GIFs in a JEditorPane or a
> >JTextPane?

This might also be related to the GIFs being specified relative to the
documents URL. Try specifying the GIFs by using absolute URLs.

-- 
-Torgeir
Technical Details
Message-ID: <36E8399A.842221F8@vertech.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36E3FAA5.E2D4FC77@cit.com> <7c7asc$ka16@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,efd414b656a01e34
X-Google-Attributes: gid111d45,public
From: Torgeir Veimo <torgeir.veimo@vertech.no>
Subject: Re: GIFs in a JEditorPane?
Date: 1999/03/11
Message-ID: <36E8399A.842221F8@vertech.no>
X-Deja-AN: 453907843
Content-Transfer-Encoding: 7bit
References: <36E3FAA5.E2D4FC77@cit.com> <7c7asc$ka16@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: SevenMountains AS
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing