@Override
    public void keyTyped(KeyEvent e) {
        Character car = e.getKeyChar();
        if (Character.isLetterOrDigit(car) || car.equals('\t') || car.equals('\n') || car.equals(' ')) {
            String s = Character.toString(car);
            UserInterface.getInstance().setInsertion(s);
            executeCommand(new Inserer());
        }

    }