asclass DynTableWithInput2 extends DynObjectTable {
switchable S input;
transient JTextField tfInput;
transient ReliableSingleThread rstCalc = dm_rst(this, r calc);
visual northAndCenterWithMargins(tfInput = dm_textField input(),
mainComponent());
JComponent mainComponent() { ret super.visualize(); }
start {
dm_watchFieldAndNow input(rstCalc);
}
abstract void calc();
}