🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #7834

Re: ImageIcon Question

#7834
From: Rich Wilkman
Date: Wed, 03 Jan 2001 02:12
49 lines
2459 bytes
James:

I meant browser because you are writing an Applet.  It's meaningless if
an Applet runs in the IDE or AppletViewer.  I asked which browser
because Netscape doesn't allow you to use the very common mechanism for
loading images, for example.  If you were testing only in Netscape you'd
could be chasing your tail on this one because the image might never
show there.

I guess you've added the hell of JFC in Applets to your programming task
<g>.

-Rich

"James A. Schulz" wrote:
> 
> Rich,
> 
> I am assuming you meant "app runner" not "browser".  The icon did not show
> in either the JBuilder 4 app runner or the Sun app runner.  I did not try it
> with either browser.
> 
> James
> 
> "Rich Wilkman" <richw@formlessvoid.com> wrote in message
> news:3A524E76.97D5D5D3@formlessvoid.com...
> > James:
> >
> > Which browser and does it fail in both?
> >
> > -Rich
> >
> > "James A. Schulz" wrote:
> >
> > > In a Swing applet, I have the following:
> > >
> > >   ImageIcon icon= new ImageIcon("left.gif");
> > >   JLabel jLabel1 = new JLabel("test",icon,JLabel.CENTER);
> > >
> > > But, in fact, my JLabel shows nothing.  The "left.gif" file is in every
> > > possible folder (src, classes etc.), but still it does not show in the
> > > label.  It is a very small image 10x20 and only uses black an white.
> What
> > > am I doing wrong?
> > >
> > > thanks,
> > >
> > > James
> >
Technical Details
Message-ID: <3A528AAA.69F23CA8@formlessvoid.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!165.227.58.108
References: <92sltv$qpr4@bornews.inprise.com> <3A524E76.97D5D5D3@formlessvoid.com> <92tt5j$in210@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,863e9e7787441cf9
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-02 18:12:19 PST
Message-ID: <3A528AAA.69F23CA8@formlessvoid.com>
Date: Tue, 02 Jan 2001 18:12:58 -0800
From: Rich Wilkman <richw@formlessvoid.com>
Reply-To: richw@formlessvoid.com
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: ImageIcon Question
References: <92sltv$qpr4@bornews.inprise.com> <3A524E76.97D5D5D3@formlessvoid.com> <92tt5j$in210@bornews.inprise.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 165.227.58.108
X-Trace: 2 Jan 2001 18:10:16 -0800, 165.227.58.108
Lines: 49
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!165.227.58.108