@Override
        public void keyReleased(KeyEvent e) {
            if (e.getKeyCode() == KeyEvent.VK_R) {
            	robotHand.record();        	
            }
            
            if (e.getKeyCode() == KeyEvent.VK_P) {
            	robotHand.playback();             	
            }
        }