I have a rather simple question I cannot find an answer to.
I have a ChoiceGroup with MULTIPLE flag:
ChoiceGroup list = new ChoiceGroup (null, Choice.MULTIPLE); // this is basically a check listbox
I want to know which item is currently highlighted (selected) in the GUI.
list.getSelectedIndex() is always returning -1 with Choice.MULTIPLE (and this is how it behaves according to documentation: http://java.sun.com/javame/reference...SelectedIndex()).
Is there any way to get which item in the list is highlighted in this case? I am looking not for a checked item (with Choice.MILTIPLE there could be many items checked) but the one which is highlighted by the user (there should be always only one, or none).
Any help is appreciated.