static BufferedImage shootWindow(Window w) { w.toFront(); sleep(50); ret shootScreen2(w.getBounds()); }