   Java key events
  How do I register a key to a key listener? I know for a button you use something like:button0.addActionListener(new button0Listener());However, this requires a button object and I searched the API docs for a key class and have only found unrelated key info. So, I have my listeners ready but I have nothing to take them.How do I let a key know it should take events?   
  As far as I know, you don't add KeyListeners to individual keys.  You KeyListeners to components (such as panels) that you want to respond to key events.  You'd use the addKeyListener method instead of addActionListener.  You may want to look at the KeyListener tutorial for more information.   