!7 module PaintMyself > DynSingleFunction { void doIt { Container frame = dm_frame(); int w = getWidth(frame), h = getHeight(frame); BufferedImage img = newBufferedImage(w, h); vis.paint(createGraphics(img)); showImage("Painted myself!", img); } }