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

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)

Categories

Find more on Econometrics Toolbox in Help Center and File Exchange

Asked:

on 5 Apr 2014

Community Treasure Hunt

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

Start Hunting!