What steps will reproduce the problem?
What I want to do is to deselect selected item in combo. First , I usIte
ComboBox setSelectedIndex with index -1, like Swing. But it did not work,
because, setSelectedIndex method reject -1 as index.
Then , I checked , DefaultComboBoxModel setSelectedItem method. it says
that it will accept null values. But, it throws below exception,
[ERROR] Uncaught exception escaped
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.Vector.get(Vector.java:696)
at org.gwt.mosaic.ui.client.list.DefaultComboBoxModel.getElementAt
(DefaultComboBoxModel.java:70)
at org.gwt.mosaic.ui.client.ListBox.contentsChanged
(ListBox.java:167)
at
org.gwt.mosaic.ui.client.list.DefaultComboBoxModel.fireContentsChanged
(DefaultComboBoxModel.java:44)
at
org.gwt.mosaic.ui.client.list.DefaultComboBoxModel.setSelectedItem
(DefaultComboBoxModel.java:105)
What is the expected output? What do you see instead?
deselect selected combo item..
What version of the product are you using? On what operating system?
gwt-mosaic-0.2.0-rc3
windows vista
Please provide any additional information below.
Original issue reported on code.google.com by gurselk...@gmail.com on 14 May 2009 at 2:52
Original issue reported on code.google.com by
gurselk...@gmail.com
on 14 May 2009 at 2:52