Is it possible to remove the animated gif from view once it had played once, i am using
tr = new MediaTracker(this);
img = getImage(getCodeBase(),"test.gif");
tr.addImage(img,0);
g.drawImage(img, 0, 0, this);
to display it but it just keeps playing over and over again. Is there a way to remove it after it is played once?