Hello,
I am using applet that is embedded in my web page. I am using Robot class to get client's screen as a image and send the BufferedImage
using sockets. Problem is i am getting PrivilegedAccessException
as soon as i do :-
Robot r = new Robot();
I don't want to force my user to change their java policies for my application. What alternatives do i have to capture client's screen?
Secondly, if i run my application directly from Netbeans 6.8 (not from web page), i get error that BufferedImage
is not Serializable
when i write an object of BufferedImage
to socket. How to get rid of this problem?
Thanks in advance :)