code: private static int createShaders() throws IOException {
  
          // load and compile the vertex shader.
          String vertexShaderCode = IOUtils.toString(
                  ClassLoader.getSystemResourceAsStream("vertexShader.glsl"));
          int vertexShaderId = glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB);
          glShaderSourceARB(vertexShaderId, vertexShaderCode);
          glCompileShaderARB(vertexShaderId);
          printLogInfo(vertexShaderId);
  
          // load and compile the fragment shader.
          String fragmentShaderCode = IOUtils.toString(
                  ClassLoader.getSystemResourceAsStream("fragmentShader.glsl"));
          int fragmentShaderId = glCreateShaderObjectARB(GL_FRAGMENT_SHADER_ARB);
          glShaderSourceARB(fragmentShaderId, fragmentShaderCode);
          glCompileShaderARB(fragmentShaderId);
          printLogInfo(fragmentShaderId);
  
          // combine the two into a program.
          int programId = ARBShaderObjects.glCreateProgramObjectARB();
          glAttachObjectARB(programId, vertexShaderId);
          glAttachObjectARB(programId, fragmentShaderId);
          glValidateProgramARB(programId);
          glLinkProgramARB(programId);
          printLogInfo(programId);
  
          return programId;
      }
docs: Loads the vertex and fragment shader.