Need Help

I need tp lace JCheckBox and JComboBox in JTable. I am not getting. So please give suggesstion or help with code details
[127 byte] By [NeedSuggestiona] at [2007-11-27 8:29:56]
# 1
Read the JTable API and you will find a link to the Swing tutorial on "How to Use Tables" which has a working example.
camickra at 2007-7-12 20:20:23 > top of Java-index,Desktop,Core GUI APIs...
# 2

To set

DefaultCellEditor dce=new DefaultCellEditor(cb);//cb is the comboBox component or check box component

dce.setClickCountToStart(2);

TableColumn column = jtable.getTableHeader().getColumnModel().getColumn(columnindex);

column.setCellEditor(dce);

david_davida at 2007-7-12 20:20:23 > top of Java-index,Desktop,Core GUI APIs...