Article View: borland.public.jbuilder.java.swing
Article #1166Re: Someone have example jList ListCellRenderer example?
From: nospam
Date: Sat, 20 Mar 2004 04:55
Date: Sat, 20 Mar 2004 04:55
27 lines
1742 bytes
1742 bytes
On Thu, 18 Mar 2004 20:12:55 -0800, John McGrath [TeamB] wrote:
> On 3/16/2004 at 9:25:29 PM, nospam wrote:
>
>> [quoted text muted]
>
> I have a CheckList class that I wrote some time ago. I posted a copy of it
> to the .attachments newsgroup.
Thank you for the code. Can you please tell me
why the following does not behave as expected
in my ListCellRenderer?
if (cellHasFocus) {
if (isSelected == false) {
setSelected(true);
}
if (isSelected == true) {
setSelected(false);
}
}
Technical Details
Message-ID:
<pan.2004.03.20.04.55.47.68889@spam.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<pan.2004.03.17.02.25.29.868166@spam.com> <405a7347@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,de66bf01ed98544f X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-19 21:09:28 PST From: nospam <no@spam.com> Subject: Re: Someone have example jList ListCellRenderer example? Date: Fri, 19 Mar 2004 23:55:47 -0500 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-ID: <pan.2004.03.20.04.55.47.68889@spam.com> Newsgroups: borland.public.jbuilder.java.swing References: <pan.2004.03.17.02.25.29.868166@spam.com> <405a7347@newsgroups.borland.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 68.81.92.143 X-Trace: newsgroups.borland.com 1079758544 68.81.92.143 (19 Mar 2004 20:55:44 -0800) Lines: 28 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail