using insertItem(String item, int index, ColType value), we can't insert
anything at all in the box because of the following code:
public void insertItem(String item, int index, ColType value)
throws IndexOutOfBoundsException {
if (index < 0 || index >= listBox.getItemCount()) {
throw new IndexOutOfBoundsException();
}
listBox.insertItem(item, index);
itemValues.add(index, value);
}
So assuming we used the no argument constructor, no matter what we pass in
as inex will be out of bounds.
Original issue reported on code.google.com by pjul...@gmail.com on 20 Sep 2009 at 3:54
Original issue reported on code.google.com by
pjul...@gmail.com
on 20 Sep 2009 at 3:54