try {
GL gl = drawable.getGL();
URL vertUrl = RT.getClassResource(getClass(), ".vertex");
URL fragUrl = RT.getClassResource(getClass(), ".fragment");
GLVertexShader vertex = new GLVertexShader(gl, UI.getText(vertUrl));
GLFragmentShader fragment = new GLFragmentShader(gl, UI.getText(fragUrl));
program = new GLShaderProgram(gl);
program.addShader(vertex);
program.addShader(fragment);
vertex.compile();
fragment.compile();
program.link();
program.validate();
buffer = new GLVertexBuffer(gl, data);
} catch (Exception ex) {