protected void handleGrabAction(KeyEvent evt){
  ActionListener _grabAction=grabAction;
  grabAction=null;
  executeAction(_grabAction,evt.getSource(),String.valueOf(evt.getKeyChar()),evt.getModifiers());
}

protected void handleGrabAction ( KeyEvent evt ) { ActionListener _grabAction = grabAction ; grabAction = null ; executeAction ( _grabAction , evt . getSource ( ) , String . valueOf ( evt . getKeyChar ( ) ) , evt . getModifiers ( ) ) ; }
if a key is being grabbed , this method should be called with the appropriate key event . it executes the grab action with the typed character as the parameter .
