//@code objref vbox, g vbox = new VBox() vbox.intercept(1) //all following creations go into the "vbox" box g = new Graph() xpanel("") x=3 xvalue("x") xbutton("press me", "print 1") xpanel() vbox.intercept(0) //ends intercept mode vbox.map() //draw the box and its contents