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