posted 21 years ago
Hi Bill,
I'm only going on memory here (since I'm too lazy to verify it ;-), but if you look at the code for the "JTable" class (available in the "src.jar" -- or "src.zip" -- file that comes with the J2SE SDK), you will see that the "Class" of the "JTable" column determines what renderer will be used. Therefore, the "getColumnClass()" method (in "javax.swing.table.TableModel" interface) needs to return "Boolean.class" in order to use the "JCheckBox" renderer.
Hope this helps.
Good Luck,
Avi.