views:

308

answers:

1

Jow can I use JComboBox as cell editor in JXTreeTable ? Can you give me a working example please?

A: 
table.getColumn(0).setCellEditor(
    new DefaultCellEditor(new JComboBox(new Object[]{"A", "B", "C"})));
Konrad Garus