@Override public void keyTyped(KeyEvent e){
synchronized (keyLock) {
    keysTyped.addFirst(e.getKeyChar());
  }
  for (  DrawListener listener : listeners)   listener.keyTyped(e.getKeyChar());
}

@ Override public void keyTyped ( KeyEvent e ) { synchronized ( keyLock ) { keysTyped . addFirst ( e . getKeyChar ( ) ) ; } for ( DrawListener listener : listeners ) listener . keyTyped ( e . getKeyChar ( ) ) ; }
this method cannot be called directly .
