BufferedImage buf = null; // Notre capture d'écran try { // Création de notre capture d'écran buf = new Robot().createScreenCapture(screenArea); } catch (AWTException e) { e.printStackTrace(); }