πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Placing an image on a JPanel

#7758
From: Tami Poupko
Date: Wed, 23 May 2001 19:21
18 lines
1351 bytes
You can use the ImageControl from JBCL and attach a picture to it.
just click the imageControl and then click again on the JPanel (just like
adding any other components). Than you use the imageName to add the .gif file
(make sure to use a full path directory).

Hope this helps.

Tami

"SοΏ½ren Hanisch" wrote:

> Hi,
>
> is it possible to place images ( *.gif) on a JPanel ?
> I mean without a creating a JButton and placing the image on this one and
> the placing the JButton on the JPanel.
>
> Thanks for help.
Technical Details
Message-ID: <3B0C0DB2.F6AAFE33@udscorp.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <3b0b6bcc@news.gwi-ag.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,8b4abf0e96c03eb7
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-23 10:32:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Tami Poupko <Poupko@udscorp.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Placing an image on a JPanel
Date: Wed, 23 May 2001 12:21:22 -0700
Organization: Ultramar Diamond Shamrock
Message-ID: <3B0C0DB2.F6AAFE33@udscorp.com>
Reply-To: Poupko@udscorp.com
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
References: <3b0b6bcc@news.gwi-ag.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: newsabuse@supernews.com
Lines: 19