public void run() {
		try {
			Display.setParent(this);
			Display.create();
		} catch (LWJGLException e) {
			e.printStackTrace();
			System.exit(0);
		}
		
		glMatrixMode(GL_PROJECTION);
		glLoadIdentity();
		glOrtho(0, 800, 600, 0, -1, 1);
		glMatrixMode(GL_MODELVIEW);
		
		Model test = null;
		try {
			test = (Model) resources.getResource("as");
		} catch (KeyException e) {
			e.printStackTrace();
			Display.destroy();
			System.exit(1);
		}
		
		while (!Display.isCloseRequested()) {
			Display.sync(60);
			
			if (test.isReady()) {
				test.render();
			}
			
			Display.update();
		}
		
		Display.destroy();
	}