title: How to draw a gif animation in java?
body: <p>I have some gif animated images (see sample image below)<br>
  and when I draw them with the graphics object, I am getting only the first image,<br>
  I know I can do this with JLabel (from other stackoverflow answers)<br>
  but I want to do that with the graphics object,<br>
  can anyone please tell me<br>
  an <strong>easy</strong> way how to draw the whole animation?<img src="https://i.stack.imgur.com/KSnus.gif" alt="gif animation"></p>