@Override
            public void keyTyped(KeyEvent arg0) {
                // Set lastTyping time
                lastTypeTime = System.currentTimeMillis();
                if (!myTypingStatus.equals("TYPING")) {
                    myTypingStatus = "TYPING";
                    try {
                        clientModel.setTypingStatus(thatUsername,
                                myTypingStatus);
                    } catch (IOException e) {
                        // server failed!
                    }
                }
            }