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

1 回表示 (過去 30 日間)
michael
michael 2014 年 4 月 5 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by