我正在使用 com.jidesoft.combobox.CheckBoxListComboBox
我以編程方式選擇了復選框
int[] indecesToSelect =..
combo.setSelectedIndices(indecesToSelect);
但我沒有看到任何取消選擇任何選擇的方法。
我試過
combo.setSelectedItem(item, false);
但這不是取消選擇,這也是選擇
也試過
combo.getList().clearSelection();
沒有效果
請幫忙
uj5u.com熱心網友回復:
用于combo.setSelectedIndex(-1);取消選擇。
來源
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/328733.html
