mackOS wrote:OK. If I was a user of your Applet I would be pissed off it you did this. Even if you asked for permission from me I would not allow it.
I wanna take "print screen" of client screen when user will click on the button on applet.. and applet is into somewhere in web-page. and save that captured screen as a image.
i want to do it without using any certificate or digitally sign...You can't .
I have used following code in swing, it is working fine but for applet it throwing error....No - thank goodness.
Robot robot = new Robot();
BufferedImage screencapture = robot.createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
File file = new File("screencapture.jpg");
ImageIO.write(screencapture, "jpg", file);
Is there any other way to do the same...