MATLAB Answers

com.jideso​ft.combobo​x.ColorCom​boBox in Jtable

1 view (last 30 days)
michael
michael on 5 Apr 2014
Hi, I 'm trying to add a com.jidesoft.combobox.ColorComboBox to a jtable cell.
Found the code below jCombo = javaObjectEDT(com.jidesoft.combobox.ColorComboBox(1));
[hjCombo, hContainer] = javacomponent(jCombo, [10,10,100,20], gcf)
but don't know how to link it to DefaultCellEditor
editor = javax.swing.DefaultCellEditor(jCombo);
jListbox.getColumnModel.getColumn(1).setCellEditor(editor);
I get: No constructor 'javax.swing.DefaultCellEditor' with matching signature found.
rgds, Michael

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by