!7 module AutoGoogleImage > DynImageSurface { transient Q q; transient JTextField tf; transient S text; start { q = startQ(); q.rst.enter = dm_rEnter(this); } visualize { tf = jcenteredtextfield(); onEnter(tf, r { show(gtt(tf)) }); ret northAndCenter(tf, withTitle(centeredLiveValueLabel(dm_fieldLiveValue('text)), super.visualize())); } void show(fS query) { q.add(r { _show(query) }); } void _show(S query) { temp enter(); setImage(quickVisualize(query)); setField(title := query); } }