Checkboxes

3 views
Skip to first unread message

F.Egan

unread,
Oct 26, 2009, 10:05:01 AM10/26/09
to jmatter
Hi there,

Is it possible to model a property as a series of checkboxes? (Similar
to how a web app would do it)

For example, a Person object in the database could have a column that
recorded preferred contact methods, Phone, SMS and Email. This would
be persisted as a comma separated string (Say "Phone,SMS" or
"SMS,Email" or "Phone,SMS,Email") and represented on the UI as three
checkboxes.

I couldn't find anything like this in the manual or the demo apps,
although I have found mention online of a class MultiListPicker which
looks like it matches my requirements. It doesn't appear to have made
it into a release yet. Can you confirm?

Thanks,
F.Egan


Eitan Suez

unread,
Oct 28, 2009, 10:32:05 PM10/28/09
to jma...@googlegroups.com
i'm sorry i don't have the time to look into this more
carefully.  you might want to investigate the class
CheckboxListBuilder.java
in the swingvm module.
/ eitan
Reply all
Reply to author
Forward
0 new messages