How to prevent selection of few item(s) in JComboBox?
posted 12 years ago
I'm facing a problem for prevent selection of few item(s) in JComboBox. I have used customised ListCellRenderer, which mark those items as disabled. But problem is that if I press mouse above those items, then even disbaled item get selected in JCombobox. I need these item(s) should not be selectable by mouse or keyboard.