How to stop a killer java.awt.robot?

D

Darrel Riekhof

I have a robot that is very busy, doing screen tasks several times a second.
The robot is controlling a non-java program. My problem is that I can't
make it stop. I'd like to hit a key stroke and make the robot stop what its
doing, but I can't seem to get this to work. I can't give my Java program
focus and get the keystroke event. Are there any tricks to getting a busy
robot to stop when you need it to?

Thx, Darrel
 
J

Joe Smith

Darrel Riekhof said:
I have a robot that is very busy, doing screen tasks several times a second.
The robot is controlling a non-java program. My problem is that I can't
make it stop. I'd like to hit a key stroke and make the robot stop what its
doing, but I can't seem to get this to work. I can't give my Java program
focus and get the keystroke event. Are there any tricks to getting a busy
robot to stop when you need it to?

If your computer is connected to a network, create a thread server to listen
to incoming commands from other computers, and control de robot's behavior.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top