addToTextArea(Character.toString(character));
    public void keyTyped(KeyEvent event) {        if(currentProcess != null) {            char character;            if((character = event.getKeyChar()) != KeyEvent.CHAR_UNDEFINED) {                addToTextArea(Character.toString(character));                processInput.print(character);            }        }    }