Article View: borland.public.jbuilder.java.api
Article #2126Re: Placing an image on a JPanel
From: S�ren Hanisch
Date: Fri, 25 May 2001 06:04
Date: Fri, 25 May 2001 06:04
29 lines
1790 bytes
1790 bytes
Thanks for your help. I tried your way and it worked fine. Thanks, Soeren "Joi Ellis [TeamB]" <joi@aravox.com> schrieb im Newsbeitrag news:3b0bb2bd_1@dnews... > "S�ren Hanisch" <soeren.hanisch@gwi-ag.com> 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. > > I stick it in a JLabel and add that to the JPanel. As I understand it, > JPanel is just a dumb container, it can't display text, images, etc itself, > but it can hold other components which can. > > -- > Joi Ellis (TeamB) > No direct email, please. > For best results, post on news server newsgroups.borland.com! > Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<3b0df62e@news.gwi-ag.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!news.gwi-ag.com!172.25.33.81References:
<3b0b6b6e@news.gwi-ag.com> <3b0bb2bd_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1089d0,9279ad3f53b831ad X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-05-24 23:14:02 PST From: "S�ren Hanisch" <soeren.hanisch@gwi-ag.com> Newsgroups: borland.public.jbuilder.java.api References: <3b0b6b6e@news.gwi-ag.com> <3b0bb2bd_1@dnews> Subject: Re: Placing an image on a JPanel Date: Fri, 25 May 2001 08:04:30 +0200 Lines: 31 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 X-Original-NNTP-Posting-Host: 172.25.33.81 Message-ID: <3b0df62e@news.gwi-ag.com> NNTP-Posting-Host: 62.159.82.50 X-Trace: dnews 990770754 62.159.82.50 (24 May 2001 23:05:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!news.gwi-ag.com!172.25.33.81