سؤال

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