code: public void bindTexture(GuiTexture texture)
  	{
  		//no change needed
  		if (texture == currentTexture)
  			return;
  
  		next();
  		Minecraft.getMinecraft().getTextureManager().bindTexture(texture.getResourceLocation());
  		//System.out.println(currentComponent + " // Bound " + texture.getResourceLocation());
  
  		currentTexture = texture;
  	}
docs: Bind a new texture for rendering.
  
  @param texture the texture