removeButton.setText("-");
addButton.setEnabled(this.comboBoxes.size() < this.possibleValues.size());
removeButton.setEnabled(this.comboBoxes.size() > 1);
addButton.addButtonListener(new IButtonListener() {
@Override
public void actionPerformed(EventObject arg0) {
int rank = comboBoxes.size() + 1;
addComboBox(rank, null);
refreshCombos(null);
removeButton.setEnabled(MultivaluedListComponent.this.comboBoxes.size() > 1);
fireEditionStateChanged(true);
MultivaluedListComponent.this.validate();
MultivaluedListComponent.this.updateUI();
}
});
removeButton.addButtonListener(new IButtonListener() {
@Override
public void actionPerformed(EventObject arg0) {
int lastIndex = MultivaluedListComponent.this.comboBoxes.size();