com.jidesoft.combobox.ColorComboBox in Jtable
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!