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