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
Joe Smith - 30 Sep 2003 09:59 GMT
> 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.