🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to do a JList filled with JCheckboxes?

#1070
From: Sam Seaborn
Date: Wed, 05 May 2004 18:00
13 lines
1514 bytes
> > You can implement your own javax.swing.ListCellRenderer for the JList
and
> > implement the getListCellRendererComponent method to return a check box.

> After a good night's sleep I realize your question was addressed to swing
> gurus.  You will surely excuse my impetuousness. :-)

Anyone's opinions are useful, guru or no. ;-)

I thought about implementing ListCellRenderer, but wouldn't I have to do a
corresponding "ListCellEditor" so I can interact with the checkboxes?

Sam
Technical Details
Message-ID: <40992bef$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40980aed$1@newsgroups.borland.com> <409810e5$1@newsgroups.borland.com> <4098edf8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e278b4d50586b83
X-Google-Attributes: gid111d45,public
Reply-To: "Sam Seaborn" <sam@rightclick.ca>
From: "Sam Seaborn" <sam@rightclick.ca>
Newsgroups: borland.public.jbuilder.java.swing
References: <40980aed$1@newsgroups.borland.com> <409810e5$1@newsgroups.borland.com> <4098edf8$1@newsgroups.borland.com>
Subject: Re: how to do a JList filled with JCheckboxes?
Date: Wed, 5 May 2004 14:00:58 -0400
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 207.35.237.35
Message-ID: <40992bef$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083780079 207.35.237.35 (5 May 2004 11:01:19 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail