🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Show an imagen in a cell

#318
From: Alexey N. Solofnenko
Date: Sat, 13 Aug 2005 16:22
26 lines
1698 bytes
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/
Technical Details
Message-ID: <42fe1e56$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!chiapp19.algx.com!dca1-feed1.news.algx.net!allegiance!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42fdcb36$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,5204561b390db241
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 13 Aug 2005 09:22:48 -0700
From: "Alexey N. Solofnenko" <nospam@nospam.comp>
User-Agent: Thunderbird 1.0+ (X11/20050813)
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Show an imagen in a cell
References: <42fdcb36$1@newsgroups.borland.com>
In-Reply-To: <42fdcb36$1@newsgroups.borland.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.180.237.5
Message-ID: <42fe1e56$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123950166 67.180.237.5 (13 Aug 2005 09:22:46 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!chiapp19.algx.com!dca1-feed1.news.algx.net!allegiance!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail