Article View: borland.public.jbuilder.java.language
Article #17949locating a GIF-file in a JAR
From: Andreas Lingnau
Date: Thu, 03 Sep 1998 00:00
Date: Thu, 03 Sep 1998 00:00
15 lines
869 bytes
869 bytes
I want to load a predefined image (*.gif) in a class. When I call
getImage("name.gif") it works in the IDE but when I export my package to
a JAR-file the image can't be found.
How can I get the image in the JAR file? Is there a method wich gets the
start directory of a application?
--
Andreas Lingnau
lingnau@uni-duisburg.de
Duisburg, Germany
Technical Details
Message-ID:
<35EE5262.D1FC024@uni-duisburg.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,16ebbdacc77400eb,start X-Google-Attributes: gidf74b3,public From: Andreas Lingnau <lingnau@uni-duisburg.de> Subject: locating a GIF-file in a JAR Date: 1998/09/03 Message-ID: <35EE5262.D1FC024@uni-duisburg.de> X-Deja-AN: 387417626 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language