🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Adding gifs to package

#18935
From: Conrad Hoesle-Kienzlen
Date: Thu, 26 Mar 1998 00:00
70 lines
2760 bytes
Nathan,
regardless of where your gifs are, include them in the project (use the button with
the green plus sign). Deployment wizard will then list them and include them in the
jar with the correct path. You can look at the contents of the jar file with any
program that can handle zip files (like WinZip) since jar files are just zip files
with a different name.
...Conrad

Nathan Kirkham wrote:

> Dean,
>
> Do you means that putting a gif in a jar it will read it out without problems ?
> If so what is its relative location to the current directory ( all my gifs are in
> a pics directory off the current one).
>
> Cheers,
>
> Nathan
>
> Dean Henkel wrote:
>
> > Try putting them in a Jar file. You will need to make sure the jar file is in
> > your class path.
> >
> > John Papadomichelakis wrote:
> >
> > > Hi JBers...
> > >
> > > This may sound funny... :)
> > >
> > > How can I add some gifs or jpegs in a package so that when I define an
> > > image in my application, it will use the stored pics.
> > >
> > > I know that this is possible, however I failed when I tried to do it..
> > >
> > > --
> > >
> > > Papadomichelakis John
> > > "Unite for Java! - http://www.javalobby.org"
> > > __________________________________________________
> > > email : michelos@freemail.gr
> > > TEL   : 30 31 758 429,       30 31 709 796
> > > __________________________________________________
> > >
> > >   ------------------------------------------------------------------------
> > >
> > >   John Papadomichelakis <michelos@freemail.gr>
> > >   BIA
> > >
> > >   John Papadomichelakis
> > >   BIA           <michelos@freemail.gr>
> > >                 HTML Mail
> > >   9 Filippou    Work: 267 923
> > >   Euosmos       Home: 758 429
> > >   Thessaloniki  Netscape Conference Address
> > >   56224         Netscape Conference DLS Server
> > >   Hellas
> > >   Additional Information:
> > >   Last Name Papadomichelakis
> > >   First NameJohn
> > >   Version   2.1
>
> --
>
> ------------------------------------------
> Nathan Kirkham - nathan@result2k.u-net.com
> Java Programmer
> Result 2000 Plc
Technical Details
Message-ID: <351A58AD.CACE0079@csi.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3516D718.BA000303@freemail.gr> <35190BAE.2535300@us.ibm.com> <351A296B.D70CFD17@NOSPAM.result2k.u-net.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,2d80d44edb10f528
X-Google-Attributes: gidf74b3,public
From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com>
Subject: Re: Adding gifs to package
Date: 1998/03/26
Message-ID: <351A58AD.CACE0079@csi.com>
X-Deja-AN: 337886737
Content-Transfer-Encoding: 7bit
References: <3516D718.BA000303@freemail.gr> <35190BAE.2535300@us.ibm.com> <351A296B.D70CFD17@NOSPAM.result2k.u-net.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: CHK IT-Consulting
Newsgroups: borland.public.jbuilder.java.language