๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Gifs in JLabel not shown...

#17374
From: Mike Rozlog
Date: Mon, 16 Nov 1998 00:00
43 lines
2041 bytes
Stephane:

One other thing, I don't think you are running this from a jar, make sure
you have the exact path for the icons in your classpath.  I had this problem
a couple of months ago, you need to change the directory of where the images
are located.  Remember when you run the program it is being run from the
myclasses directory not the myprojects directory.  Try fully qualify one
icon when you set it up in the code and then run the code outside of
JBuilder.

Mike

St๏ฟฝphane Bonnet wrote in message <3650222F.A1AB2D6C@tre.ntc.nokia.com>...
>.. 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: <72pbis$qkf7@forums.borland.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: "Mike Rozlog" <javateacher@consultant.com>
Subject: Re: Gifs in JLabel not shown...
Date: 1998/11/16
Message-ID: <72pbis$qkf7@forums.borland.com>
X-Deja-AN: 412392134
References: <3650222F.A1AB2D6C@tre.ntc.nokia.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language