hi have anyone an idea how can i make screenshoot from my scene without the class robot?
at moment i use the Robot class to make screenshoots from my sceene
Rectangle screenRect = new Rectangle(20,10,800,600);
try{
Robot robot = new Robot();
BufferedImage image = robot.createScreenCapture(screenRect);
ImageIO.write(image, "png", new File(fileName));
} catch (AWTException e1) {}
catch (IOException e) {}
thats the code to make screenshoots but i think its not good to use AWT