static BufferedImage dm_shootModule(O module) { dm_showModule(module); ret renderComponentToImage(dm_frame(module)); } static BufferedImage dm_shootModule(O module, bool withFrame) { ret withFrame ? dm_shootModule(module) : dm_shootModuleContents(module); }