🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Images from a Jar

#2973
From: rmt1
Date: Wed, 10 Jun 1998 00:00
7 lines
708 bytes
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 ?
Technical Details
Message-ID: <01bd9473$bd926600$6931a992@pl-pc105>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,6bef98d5642a9f9,start
X-Google-Attributes: gid1089d0,public
From: "rmt1" <rmt1@doc.ic.ac.uk>
Subject: Images from a Jar
Date: 1998/06/10
Message-ID: <01bd9473$bd926600$6931a992@pl-pc105>
X-Deja-AN: 361359061
Organization: Imperial College
Newsgroups: borland.public.jbuilder.java.api