posted 18 years ago
It's not so much in how you define the cell renderer but in how you associate a renderer with a column. You can either explicitly associate a cell renderer with a TableColumn from the TableColumnModel, or change the default renderer for Boolean.class. Here is an example of the latter.
(Rather than defining new renderers and editors, I just change the icon used by them. Try clicking on the second column!)
[ January 17, 2006: Message edited by: Jeff Albrechtsen ]
There is no emoticon for what I am feeling!