I've got a table. It has a column that contains an object. It has a custom renderer that displays the field name of the object. I'd like to be able to edit this name, but whenever I try to hook it up for editing it always tries to edit the object. Does anyone have any ideas?
Joined: May 17, 2001
If you use DefaultTableModel, you can override the setValueAt method and do what you want.
Joined: Dec 12, 2000
Thanks, I'll give that a try (I didn't think of that trying that one). Also, while I was looking for answers I discovered I was able to override toString and get rid of my custom renderer.