Article View: borland.public.jbuilder.java.swing
Article #9272Loading images from jar file
From: Richard
Date: Wed, 19 Apr 2000 00:00
Date: Wed, 19 Apr 2000 00:00
8 lines
665 bytes
665 bytes
I want to distribute my app in a jar file including the images, but creating the ImageIcon only seems to work if I specify an absolute path. How can I specify that the image is in the jar file or use a relative path to load the image ? Richard
Technical Details
Message-ID:
<38fd824d.4293483@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,ec9795bc13a1381d,start X-Google-Attributes: gid111d45,public From: richard@notanemailaddress.com (Richard) Subject: Loading images from jar file Date: 2000/04/19 Message-ID: <38fd824d.4293483@newsgroups.borland.com> X-Deja-AN: 613071432 X-Trace: 19 Apr 2000 02:51:49 -0800, 193.131.169.82 Newsgroups: borland.public.jbuilder.java.swing