!7 module PaintMyself > DynSingleFunction { void doIt { BufferedImage img = renderComponentToImage(dm_frame()); showImage("Painted myself!", img); } }