static awtCalcContinuously(A component, Runnable runnable) { if (runnable == null) ret component; new SingleThread thread; new BoolVar visible; var info = _threadInfo(); Runnable r2 = r { _threadInheritInfo(info); while ping (visible!) runnable.run(); }); bindToComponent(component, -> { visible.set(); thread.go(theLoop); }, -> visible.clear()); ret component; }