🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ImageIcon Question

#7833
From: James A. Schulz
Date: Wed, 03 Jan 2001 00:56
33 lines
1855 bytes
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: <92tt5j$in210@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!europa.netcrusader.net!209.150.97.11!feeder.qis.net!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
References: <92sltv$qpr4@bornews.inprise.com> <3A524E76.97D5D5D3@formlessvoid.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 16:54:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!europa.netcrusader.net!209.150.97.11!feeder.qis.net!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
From: "James A. Schulz" <jaschulz@wiseware.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: ImageIcon Question
Date: Tue, 2 Jan 2001 18:56:01 -0600
Organization: Another Netscape Collabra Server User
Lines: 35
Message-ID: <92tt5j$in210@bornews.inprise.com>
References: <92sltv$qpr4@bornews.inprise.com> <3A524E76.97D5D5D3@formlessvoid.com>
Reply-To: "James A. Schulz" <jaschulz@wiseware.com>
NNTP-Posting-Host: user-vcautgu.dsl.mindspring.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200