public void keyReleased(KeyEvent e){

		switch(e.getKeyCode()){
		case KeyEvent.VK_W :
			keyArray[2] = false;
			break;
		case KeyEvent.VK_A :
			keyArray[3] = false;
			break;
		case KeyEvent.VK_S :
			keyArray[4] = false;
			break;
		case KeyEvent.VK_D :
			keyArray[5] = false;
			break;
		case KeyEvent.VK_SHIFT :
			keyArray[6] = false;
			break;
		case KeyEvent.VK_CONTROL :
			keyArray[7] = false;
			break;
		case KeyEvent.VK_ALT :
			keyArray[8] = false;
			break;
		case KeyEvent.VK_SPACE :
			keyArray[9] = false;
			break;
		default :
			break;
		}
	}