I am trying to make an animation by displaying a series of SVG images uisng
Java language. Here is a part of my code.

for(int i = 0; i < svgDocList.size(); i++)
{                    
    try {                       
        Thread.sleep(500);
    } catch (InterruptedException e) {      
        e.printStackTrace();
    }               
svgCanvas.setDocument(svgDocList.get(i));
}

When I run this, the canvas displayed only the first image of the list but
did not get update with other images of the list. What could be wrong? or
Any other ways of displaying a series of svg images?



--
View this message in context: 
http://batik.2283329.n4.nabble.com/Frame-based-Animation-tp4655991.html
Sent from the Batik - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

Reply via email to