AlphaState alphaState = DisplaySystem.getDisplaySystem().getRenderer().createAlphaState();
alphaState = DisplaySystem.getDisplaySystem().getRenderer().createAlphaState();
	protected void init() {		color = new ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f);		AlphaState alphaState = DisplaySystem.getDisplaySystem().getRenderer().createAlphaState();		alphaState.setBlendEnabled(true);		alphaState.setSrcFunction(AlphaState.SB_SRC_ALPHA);		alphaState.setDstFunction(AlphaState.DB_ONE_MINUS_SRC_ALPHA);		alphaState.setTestEnabled(true);		alphaState.setTestFunction(AlphaState.TF_GREATER);		alphaState.setEnabled(true);		rootNode = new Node();		rootNode.setCullMode(Spatial.CULL_NEVER);		rootNode.setLightCombineMode(LightState.OFF);		Font2D font = new Font2D();		ZBufferState zbs = DisplaySystem.getDisplaySystem().getRenderer().createZBufferState();		zbs.setFunction(ZBufferState.CF_ALWAYS);		statusText = font.createText("Loading...", 10.0f, 0);		statusText.setRenderQueueMode(Renderer.QUEUE_ORTHO);		statusText.setRenderState(zbs);		statusText.setTextColor(color);		statusText.updateRenderState();		rootNode.attachChild(statusText);		progressBar = new Quad("ProgressBar", 100.0f, 15.0f);		progressBar.setRenderQueueMode(Renderer.QUEUE_ORTHO);		progressBar.setColorBuffer(0, null);		progressBar.setDefaultColor(color);		progressBar.setRenderState(alphaState);		progressBar.updateRenderState();		rootNode.attachChild(progressBar);		percentageText = font.createText("", 10.0f, 0);		percentageText.setRenderQueueMode(Renderer.QUEUE_ORTHO);		percentageText.setRenderState(zbs);		percentageText.setTextColor(color);		percentageText.updateRenderState();		rootNode.attachChild(percentageText);	}