🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Show an imagen in a cell

#325
From: Anton
Date: Mon, 15 Aug 2005 09:10
45 lines
2296 bytes
Thanks
"Alexey N. Solofnenko" <nospam@nospam.comp> escribi� en el mensaje 
news:42ff8cc1@newsgroups.borland.com...
>I would use JLabel with label.setIcon(). ImageIcon itself is not a 
>JComponent.
>
> - Alexey.
>
> Anton wrote:
>> Hi.
>> Thanks for asking, there is posibility to do using an icon (imageIcon)
>>
>> Regards
>> "Alexey N. Solofnenko" <nospam@nospam.comp> escribi� en el mensaje 
>> news:42fe1e56$1@newsgroups.borland.com...
>>> See for example this:
>>> http://www.codeguru.com/java/articles/162.shtml
>>>
>>> You can put an image into JLabel, but a more complex GUI is also 
>>> possible.
>>>
>>> - Alexey.
>>>
>>> Anton wrote:
>>>> Hello.
>>>>
>>>> I want to know how to put an image into a cell in a JTable. In my case 
>>>> I have a number for each image, so when I reload the data in the table 
>>>> depending on the number in each I want to show an image.
>>>>
>>>> My JTable is in a JScrollPane and has only to columns, one for the data 
>>>> and the other for the number.
>>>>
>>>> How can I do that??
>>>>
>>>> Regards
>>> -- 
>>> Alexey N. Solofnenko
>>> home: http://trelony.cjb.net/
>>
>>
>
> -- 
> Alexey N. Solofnenko
> home: http://trelony.cjb.net/ 
Technical Details
Message-ID: <43005c20@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!newspeer.tds.net!gail.ripco.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42fdcb36$1@newsgroups.borland.com> <42fe1e56$1@newsgroups.borland.com> <42fe486e$1@newsgroups.borland.com> <42ff8cc1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,5204561b390db241
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII
From: "Anton" <anton@anton.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <42fdcb36$1@newsgroups.borland.com> <42fe1e56$1@newsgroups.borland.com> <42fe486e$1@newsgroups.borland.com> <42ff8cc1@newsgroups.borland.com>
Subject: Re: Show an imagen in a cell
Date: Mon, 15 Aug 2005 10:10:33 +0100
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 217.124.46.6
Message-ID: <43005c20@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124097056 217.124.46.6 (15 Aug 2005 02:10:56 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!newspeer.tds.net!gail.ripco.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail