Article View: borland.public.jbuilder.java.swing
Article #319Re: Show an imagen in a cell
From: Anton
Date: Sat, 13 Aug 2005 19:22
Date: Sat, 13 Aug 2005 19:22
30 lines
1846 bytes
1846 bytes
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/
Technical Details
Message-ID:
<42fe486e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42fdcb36$1@newsgroups.borland.com> <42fe1e56$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 From: "Anton" <anton@anton.com> Newsgroups: borland.public.jbuilder.java.swing References: <42fdcb36$1@newsgroups.borland.com> <42fe1e56$1@newsgroups.borland.com> Subject: Re: Show an imagen in a cell Date: Sat, 13 Aug 2005 20:22:20 +0100 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 217.124.46.138 Message-ID: <42fe486e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1123960942 217.124.46.138 (13 Aug 2005 12:22:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail