static JTextComponent looselyBindLiveValueToTextComponent(IVarWithNotify lv, JTextComponent c) { onChange(c, -> lv.set(getText(c))); bindToComponent(c, -> { S value = lv!; if (value != null) setText(c, value); else lv.set(getText(c)); }); ret c; }