🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9394

gif-File load from a jar-File

#9394
From: Rainer
Date: Wed, 05 Apr 2000 00:00
12 lines
795 bytes
Hi Programers,

How could i load Image�s from jar File. I need it for a Applet.
In the moment i load it via URL like

return new
ImageIcon((Toolkit.getDefaultToolkit().getImage(http:\\server\test.gif)),
description);

Thanks for Help

Rainer, Germany (mailto:rd@ley.de)
Technical Details
Message-ID: <8certe$k3q4@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,b6326b481341ca8b,start
X-Google-Attributes: gid111d45,public
From: "Rainer" <rd@ley.de>
Subject: gif-File load from a jar-File
Date: 2000/04/05
Message-ID: <8certe$k3q4@bornews.borland.com>
X-Deja-AN: 606962342
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Rainer" <rd@ley.de>
Newsgroups: borland.public.jbuilder.java.swing