How can I lock the users mouse coordinates in the center of my Japplet? I tried using the robot class (which works only for a JFrame [as a java application]), and it threw security errors.
You have to sign your applet to be able to use the Robot class unfortunately. And no there are no other ways of doing this other than using Robot.
Google didn’t help, how do I sign my applet? o:
Do I have to download a program to do that? At least, that’s what I’m getting from a website-tutorial I found.
Signing JAR’s is easy peasy. The basic idea is: you have to create a certificate in something called a ‘keystore’. This needs to be only done once. Then you apply the certificate to your JAR’s.