public void dispose() { super.dispose(); timer = null; wait = null; if (image != null) { image.dispose(); image = null; } }
public void dispose() { if (characterCG != null) { characterCG.dispose(); characterCG = null; } }