code: public void setProgram(Program program) {
          if (program == null) {
              throw new IllegalStateException("Program cannot be null");
          }
          program.checkCreated();
          this.program = program;
      }
docs: Sets the program to be used by this material to shade the models.
  
  @param program The program to use