This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
i m newbie to javaApplets and this Forum as well. Please, any one tell me that how can i capture the client screen using 'awt.Robot.createScreenCapture' while writing this code inside myh applet and sends the resultant image to http webserver.
i have tried it, but some security issues in java Applets throws 'jawa.AWTPermission' exception.. i don't know how to get permissions from client before his/her screen capture.
I want to implement Desktop Sharing in LAN. waiting.... best wishes Waqas Dar
Because taking a screenshot captures potentially sensitive data, applets are not by default allowed to do that. The way around that is to digitally sign the applet, or have the user alter the local security policy. Both methods are described in HowCanAnAppletReadFilesOnTheLocalFileSystem