🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Adding gifs to package

#18945
From: Nathan Kirkham
Date: Mon, 30 Mar 1998 00:00
91 lines
3384 bytes
Conrad,

I included the gifs in the project and ran the deployment wizard.  It didn't seem to
change any of my file references and reported it couldn't find any of my files.  What
should a source code line be changed to to reference from a jar ?

Cheers,

Nathan

Conrad Hoesle-Kienzlen wrote:

> 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



--

------------------------------------------
Nathan Kirkham - nathan@result2k.u-net.com
Java Programmer
Result 2000 Plc
Technical Details
Message-ID: <351F5D5C.F2B0C079@NOSPAM.result2k.u-net.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> <351A58AD.CACE0079@csi.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: Nathan Kirkham <nathan@NOSPAM.result2k.u-net.com>
Subject: Re: Adding gifs to package
Date: 1998/03/30
Message-ID: <351F5D5C.F2B0C079@NOSPAM.result2k.u-net.com>
X-Deja-AN: 339062700
Content-Transfer-Encoding: 7bit
References: <3516D718.BA000303@freemail.gr> <35190BAE.2535300@us.ibm.com> <351A296B.D70CFD17@NOSPAM.result2k.u-net.com> <351A58AD.CACE0079@csi.com>
Content-Type: text/plain; charset=us-ascii
Organization: Result 2000 Plc
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language