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?
Printable View
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?
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