๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Gifs in JLabel not shown...

#17375
From: Steve Meister
Date: Mon, 16 Nov 1998 00:00
39 lines
2245 bytes
It's most likely a classpath problem as Mike said, but the jvm will NOT
throw an exception if a gif is not loaded. I run into this all the
time, when I've had new images added to an application and the images
are not installed on deployed sites. The images simply do not appear,
and there is no error. Check your classpath, and also make sure you're
running your application from the correct directory, depending upon
how you're loading the images within your program (i.e. if you're
loading "..\mypicture.gif", make sure "mypicture.gif" is one directory
up from where you run your application.)


"St๏ฟฝphane Bonnet" wrote:
> 
> .. when starting the application from MSDos Prompt
> 
> hi,
> 
> what a surprise !!!! for the first time today i tried to start from the
> DOS windows one Java Application, already compiled under JBuilder.
> 
> And then... all my icons, displayed within JLabels are not visible. No
> exception is raised, we just can't see them. Anyone has any kind of idea
> of same experience ? I'm using JDK1.1.6
> 
> Of course, when i start the application with JBuilder, no problem,
> everything is perfect... But i need to start from DOS...
> 
> Thank you very much for your help...
> 
> Stephane.
> 
> _______________________________________________________
> Stephane Bonnet
> _______________________________________________________
> Address -> Mikontalo C 155, 33720 TAMPERE, FINLAND
> Mobile  -> (+358)(0)40 7270601
> E-mail  -> steph@cs.tut.fi, bonnet@tre.ntc.nokia.com
> Web     -> http://www.cs.tut.fi/~steph
> _______________________________________________________
Technical Details
Message-ID: <36504243.3A981336@erols.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3650222F.A1AB2D6C@tre.ntc.nokia.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,2c004dbb716ec9eb
X-Google-Attributes: gidf74b3,public
From: Steve Meister <steve.and.christiane@erols.com>
Subject: Re: Gifs in JLabel not shown...
Date: 1998/11/16
Message-ID: <36504243.3A981336@erols.com>
X-Deja-AN: 412409978
Content-Transfer-Encoding: 8bit
References: <3650222F.A1AB2D6C@tre.ntc.nokia.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: steve.and.christiane@erols.com
Newsgroups: borland.public.jbuilder.java.language