Pascal Richter - 2004-08-17

Logged In: YES
user_id=821473

I had the same problem and found the problem.
Class JEditTextArea, method processKeyEvent: The key event
will not be processed because it is directly forwarded to
the (internal) input handler of the jeditTextArea (for
perfomance reasons). I added the line:
super.processKeyEvent(evt);
to the end of the method, to let the super class process the
KeyEvent too. It works!!

Here is the whole method:
<code>
public void processKeyEvent(KeyEvent evt)
{
if(inputHandler == null)
return;
switch(evt.getID())
{
case KeyEvent.KEY_TYPED:
inputHandler.keyTyped(evt);
break;
case KeyEvent.KEY_PRESSED:
inputHandler.keyPressed(evt);
break;
case KeyEvent.KEY_RELEASED:
inputHandler.keyReleased(evt);
break;
}

super.processKeyEvent(evt); // <--- add this line
}
</code>

ps: sorry for my bad english