Animated Gif Image does not render correctly on screen

I have added animated gif image to the scene it does not render correctely.it shakes on the screen. plz give me any suggestion
i use following code
Image logo= new Image(getClass().getResourceAsStream("images/image.gif"));
logoLabel.setGraphic(new ImageView(logo));
Advertisement
Reply

Hello user,
I think gif are rendered smoothly.
Are you sure you are not making many object of same images everytime?
Thanks.
Narayan