is there a way to create a simple timer in java so that once it passes that time, something else will happen? For my code, I\'m trying to draw an image using Graphics.drawIm