Well, I think there are probably several ways to store these values. One would be to create an object that stores these values for you. For example:
Then have getCellEditorValue() return an instance of MyStructure that is populated with your textfield's value and your combo box's value.
Note that when you create your table model, you will need to put MyStructure objects in the column for which you want to edit. You might want to use default values (like empty strings) to initialize each MyStructure object.
In your getTableCellEditorComponent() method of your cell editor, you will then need to cast the 'value' parameter as a MyStructure object and populate your editing component with its data. Then return your editing component.
The editing component might look like:
The cell editor itself might look like:
You should be able to use the Editor class for rendering in much the same way.
NOTE: I have not compiled or run these classes, so just take the ideas from them if you like.
Anyway, I hope THIS helps.
[ January 23, 2002: Message edited by: Jeff Wisard ]