Article View: borland.public.jbuilder.java.swing
Article #11461Extracting images for Jar file in Netscape...(Urgent)
From: Khurram Shakir
Date: Sat, 22 May 1999 00:00
Date: Sat, 22 May 1999 00:00
21 lines
1148 bytes
1148 bytes
I am trying to extract images from jar file with the use of following code
someClass that is on the jar,
URL url = this.getClass().getResouce("images/myImage.gif");
return new ImageIcon(url);
this code work fine with appletviewer and Internet Explorer, but not in
Netscape Navigator 4.51. the url return null. Is this a bug in Netscape,
please help me, or give me other method for extracting image form Jar file.
I need answer immidiatly, since my project deadline is May 27 :(
thanks in advance
regards,
--
Khurram Shakir
Java Developer
Progressive Systems(Pvt.) Limited
kshakir@prosys.com.pk
ICQ # : 17135971
Technical Details
Message-ID:
<7i6q7v$lr813@forums.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,da674f7a28ca9c32,start X-Google-Attributes: gid111d45,public From: "Khurram Shakir" <kshakir@prosys.com.pk> Subject: Extracting images for Jar file in Netscape...(Urgent) Date: 1999/05/22 Message-ID: <7i6q7v$lr813@forums.borland.com> X-Deja-AN: 480936709 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Progressive Systems X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing