Hi,
I am having problems creating a robot within an applet, is this possible?
try
{
Robot m_robot = new Robot();
}
catch( Exception e )
{
System.err.printf( "Cant create a Robot for mouselook!\n" );
}
This works fine running through netbeans using a MainFrame, but creating the Robot running as an applet.
I have tried to call:
AWTPermission robot_permission = new AWTPermission( “createRobot” );
…but this doesn’t seem to work either.
Any suggestions, advice or ideas?
Thanks,
Thirg…