private void setUpGL(GL2 device)
	{
		device.glClearColor(0, 0, 0, 0);
		device.glClear(GL2.GL_DEPTH_BUFFER_BIT | GL2.GL_COLOR_BUFFER_BIT | GL2.GL_STENCIL_BUFFER_BIT);
		device.glEnable(GL2.GL_DEPTH_TEST);
		device.glDepthFunc(GL2.GL_LEQUAL);
		device.glEnable(GL2.GL_ALPHA_TEST);
		device.glAlphaFunc(GL2.GL_GREATER, 0);
		device.glEnable(GL2.GL_BLEND);
		device.glBlendFunc(GL2.GL_SRC_ALPHA, GL2.GL_ONE_MINUS_SRC_ALPHA);
		device.glMatrixMode(GL2.GL_MODELVIEW);
		device.glLoadIdentity();
		device.glColor3f(1, 1, 1);
	}