You have an 'loxy' in your code that should be 'locy.' Also, in your source code you need to change 'Down' to 'DOWN'. That will clear up the first three compiler errors.
The deprecation is just a warning, telling you the source code contains a call to Thread.sleep() that should be replaced. I'm going to assume you're not sure what that means, so for now
you should know this is not a fatal problem. Your program will run with deprecated calls.
(gads, my typos are awful these days...)
[ September 11, 2005: Message edited by: Michael Ernest ]