public void keyPressed(KeyEvent e) {
        if (e.getKeyCode() == KeyEvent.VK_UP) {
            translateZ += .1f;
        }
        if (e.getKeyCode() == KeyEvent.VK_DOWN) {
            translateZ -= .1f;
        }
        if (e.getKeyCode() == KeyEvent.VK_RIGHT) {
            translateY += .1f;
        }
        if (e.getKeyCode() == KeyEvent.VK_LEFT) {
            translateY -= .1f;
        }

    }