Adapting to handling dynamic textures using java.awt.Graphics