Avoiding unnecessary events and infinite loop in “coupled” JSliders?

前端 未结 4 1391
余生分开走
余生分开走 2020-12-21 05:50

I have a GUI that is issuing commands to a web server based on slider values. Some of these sliders are \"coupled\" on the web server, so changing one of them may also chang

4条回答
  •  半阙折子戏
    2020-12-21 06:20

    One author calls this problem fibrillation. This discussion suggests a shared model, in addition to the flag approach suggested by @Pyrolistical.

提交回复
热议问题