title: KeyListener in Java is abstract; cannot be instantiated?
body: <p>I am trying to create a Key Listener in java however when I try </p>
  
  <pre><code>KeyListener listener = new KeyListener();
  </code></pre>
  
  <p>Netbeans is telling me that KeyListener is abstract;cannot be instantiated. I know that I am missing some other piece of this key listener, but since this is my first time using a key listener i am unsure of what else i need. Why is it telling me this?</p>
  
  <p>Thanks,</p>
  
  <p>Tomek</p>