// delay := delay in seconds static JDesktopPane jDesktopPaneWithFitPicture_smooth_cacheScaled_loadLater(fS imageID, O... _) { final DesktopPaneWithFitPicture_smooth_cacheScaled desktop = swingNu(DesktopPaneWithFitPicture_smooth_cacheScaled); thread "Load Background" { sleepSeconds(optPar delay(_, 0.0)); time "Load Background in Background" { BufferedImage img = loadImage2(imageID); } desktop.setImage(img); } ret desktop; }