title: How can I listen to a TAB key pressed/typed in Java?
body: <pre><code>    private void jTextField1KeyPressed(java.awt.event.KeyEvent evt)
      {
          //cant capture my TAB?
          System.out.print(evt.getKeyChar());
  
      }
  </code></pre>
  
  <p>What is the simplest way in an java gui to capture the tab key without doing using the focus listening technique?</p>