3

I have able to draw my gif to the frame, and it runs fine. However, once it is finished, the gif just stops. How do I make it restart?

        Image icon = new     
        ImageIcon(getClass().getResource("/images/giphy.gif")).getImage();
        g.drawImage(icon,0,0,600,600,this);
SocketPhys
  • 45
  • 6

0 Answers0