Вопрос

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.

Это было полезно?

Решение

the listener again reacts to them

  1. remove the listener
  2. do your processing
  3. add the listener back to the component
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top