🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19764

Re: Applet Demonstration

#19764
From: Andrew Bennett
Date: Tue, 30 Dec 1997 00:00
22 lines
1277 bytes


Paul Murray wrote:

> >Cheers, this helps quite a bit, but the JAR is intended to be quite mobile,
> >i.e. users download it and use it on local machines, etc.
> >
> >Is there any way to access files in the JAR?
>
> This is an issue I have been wondering about for a while: how do you put
> miscellaneous data in a JAR?

getResource(), and perhaps getResourceAsStream() can do it.


Andrew
--
  Andrew Bennett            ->  abennett@borland.com
  JBuilder info             ->  http://www.borland.com/jbuilder/
  JBuilder newsgroups info  ->  http://www.borland.com/newsgroups/
**** Please don't post a reply AND send email.  Do one.  I'll see it. ****
Technical Details
Message-ID: <34A97B83.1F8D2325@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <67gi2a$eel9@forums.borland.com> <67hmp6$f3f17@forums.borland.com> <67o81o$irf3@forums.borland.com> <685g7m$nqr5@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ab825e4aa5ad825e
X-Google-Attributes: gidf74b3,public
From: Andrew Bennett <abennett@borland.com>
Subject: Re: Applet Demonstration
Date: 1997/12/30
Message-ID: <34A97B83.1F8D2325@borland.com>
X-Deja-AN: 311449597
Content-Transfer-Encoding: 7bit
References: <67gi2a$eel9@forums.borland.com> <67hmp6$f3f17@forums.borland.com> <67o81o$irf3@forums.borland.com> <685g7m$nqr5@forums.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: None
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language