Frage

I have three relative comboboxes lists that take data from the database, and if I change one, the other also changes through SetModel () method. The problem is that whenever a new pattern, the data in the other lists are changed, the listener again reacts to them. How can I solve this problem? Thanks in advance.

War es hilfreich?

Lösung

the listener again reacts to them

  1. remove the listener
  2. do your processing
  3. add the listener back to the component
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top