code: public void setAmbientLight(int i, Color color, boolean enableColor, Vector3D v) {
  	    float ambient[] = {
              (float)color.getRed(),
              (float)color.getGreen(),
              (float)color.getBlue(),
              (float)color.getAlpha()
          };
          float position[] = { (float)v.getX(), (float)v.getY(), (float)v.getZ(), 1.0f };
          gl.glEnable(GL2.GL_LIGHTING);
          gl.glEnable(GL2.GL_LIGHT0 + i);
          gl.glLightfv(GL2.GL_LIGHT0 + i, GL2.GL_POSITION, position, 0);
          if(enableColor)
              gl.glLightfv(GL2.GL_LIGHT0 + i, GL2.GL_AMBIENT, ambient, 0);
      }
docs: Sets the color value and the position of the No.i ambientLight