Click to See Complete Forum and Search --> : new cell renderer


Felipe Heredia
October 11th, 1999, 07:24 AM
Hi,

I need a to put a combo box in a cell of my JTable. To do this, I have a JPanel which implements TableCellEditor and TableCellRender and which contains a JCombo. The problem is, I canīt get the combo to work.

Can anybody help me?

unicman
October 17th, 1999, 01:08 AM
Frankly, I haven't tried to put combo-box in JTable. But I know that if u want a cell to be editable (ie u combo-box working), u need to return 'isEditable' true for that cell in the TableModel. Have u done that?

If no, that may be a problem.
If yes, I don't know the soln then. I'm sorry.

- UnicMan
http://members.tripod.com/unicman