@Override
			public void keyReleased(KeyEvent ke) {
                switch(ke.getKeyCode()) {
                    case KeyEvent.VK_UP: isUpPressed = false; break;
                    case KeyEvent.VK_DOWN: isDownPressed = false; break;
                    case KeyEvent.VK_SPACE: isSpacePressed = false; break;
                }
            }