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

1 visualizzazione (ultimi 30 giorni)
michael
michael il 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

Risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by