public void keyPressed(KeyEvent e) {
    	int key = e.getKeyCode();
    	
    	switch(key) {
    	case KeyEvent.VK_L:
    		if (!_draw_new_path) {
        		_wps.getSmoothPath().clear();
        		_wps.getPath().clear();
        		_draw_new_path = true;
        		
        		update();
        		repaint();
    		}
    		break;
    	default:
    		// nothing to do
    	}
    }