🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2976

Re: Images from a Jar

#2976
From: Richard Wilkman
Date: Wed, 10 Jun 1998 00:00
34 lines
1627 bytes
RMTL:

Surf to http://www.got.net/~rwilkman/java and look at the samples.

Remember, you can use getResourceAsStream for your own stuff.  It
won't change the behaviour of jbcl or Swing or any other library that
uses getResource.

-Rich

rmt1 wrote:
> 
> I've read the FAQ on the JBuilder Developer Page, but can someone actually
> give me the code for obtaining an image from a Jar.
> The applet is run in Netscape, and from the FAQ I understand that
> getResource() is not functional (this is the way that I previously tried
> and failed with).
> How can I use getResourceAsStream() to obtain an image ?

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <357EB017.543170EB@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bd9473$bd926600$6931a992@pl-pc105>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,6bef98d5642a9f9
X-Google-Attributes: gid1089d0,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: Images from a Jar
Date: 1998/06/10
Message-ID: <357EB017.543170EB@inprise.com>
X-Deja-AN: 361397315
Content-Transfer-Encoding: 7bit
References: <01bd9473$bd926600$6931a992@pl-pc105>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api