couple small tweaks

This commit is contained in:
benfry
2006-03-10 23:37:22 +00:00
parent 71bfa9f772
commit 9d949e0460
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1646,7 +1646,7 @@ public class JEditTextArea extends JComponent
inputHandler.keyTyped(evt);
break;
case KeyEvent.KEY_PRESSED:
if (!editorListener.keyPressed(evt)) {
if ((editorListener != null) && !editorListener.keyPressed(evt)) {
inputHandler.keyPressed(evt);
}
break;