Is there a trick to accessing the java KeyAdapter class in Greenfoot?
I'm not sure if it's an import statement I'm not getting right or if there's something else I need to know.
It appears you need a component to add the listener to. You will need to import 'java.awt.Component', 'java.awt.event.KeyListener', and 'java.awt.event.KeyAdapter'. I believe you create a sub-class of KeyAdapter and write your methods for the key events you are looking for in it. Then create a new KeyAdapter object (using your sub-class name) and use the 'addKeyListener' method to apply it to a Component object.