🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Yeah, read about that. But how? Sample?

#7608
From: Jason Swett
Date: Sun, 07 Jan 2001 22:06
12 lines
1513 bytes
I've read that, but the samples often include a lot of other pieces/parts
that get in the way of getting it to work.  Can you give me a very short
sample (but complete program) of that?

Actually, now that Reid solved my problem with the file name syntax, maybe
the ImageIcon example in my Wrox "Beginning Java 2" book will work.  Their
example was with an Applet, and mine was with an Application, so I didn't
want to use their URL-based image file name.

>
> Since you are using Swing, the simplest way to display an image is to
> use an ImageIcon on a JLabel with no text - try that instead.
Technical Details
Message-ID: <3a58e87e_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.gamma.ru!Gamma.RU!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!204.157.20.70
References: <3a587c79_2@dnews> <3a588647_2@dnews> <ur92fuzhr.fsf@sds.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,3d5e8a1122bfe253
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-07 14:14:01 PST
From: "Jason Swett" <swettboy@ncats.net>
Newsgroups: borland.public.jbuilder.java.swing
References: <3a587c79_2@dnews> <3a588647_2@dnews> <ur92fuzhr.fsf@sds.no>
Subject: Yeah, read about that.  But how?  Sample?
Date: Sun, 7 Jan 2001 17:06:08 -0500
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 204.157.20.70
Message-ID: <3a58e87e_2@dnews>
X-Trace: 7 Jan 2001 14:06:54 -0800, 204.157.20.70
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.gamma.ru!Gamma.RU!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!204.157.20.70