I'm having some trouble with a game I recently made for a class. It's a beginner's Java class, so the teacher didn't mind the problem, but it's been really bugging me. My game is a Tower Defense, but it blinks every time the enemy moves. Rapidly blinks. My teacher suggested Double Buffering, but I have absolutely no idea what that is, and Google wasn't really a big help. Does anyone know how I can fix the blinking in my game?
I know it's because I am repainting every second, but I don't know an alternative to it.