ggeorg / gwt-mosaic

Automatically exported from code.google.com/p/gwt-mosaic
1 stars 0 forks source link

DefaultComboBoxModel addAll method should be changed #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
public boolean addAll(int index, Collection<? extends E> c) {
    if (super.addAll(index, c)) {
      fireContentsChanged(this, index, index + c.size() - 1);
      return true;
    }
    return false;
  }

fireContentsChanged should be exchanged with fireIntervalAdded. 

What is the expected output? What do you see instead?

Combo popup should be populated with objects after addAll method of 
DefaultComboBoxModel is called . But only a empty popup has been showed.

What version of the product are you using? On what operating system?
mosaic v951

Please provide any additional information below.

Original issue reported on code.google.com by gurselk...@gmail.com on 7 Jul 2009 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by georgopo...@gmail.com on 7 Jul 2009 at 9:48