javanetbeans-8animateddynamic-splash-screen

Animated Splash screen in Netbeans Java


I am trying to make animated Gif Splash screen in java netbeans but it doesn't works.. so I use jpg or PNG files it works .. I want to use gif animated file in splash screen I am using -splash:src/Images/sspp.PNG in VM options.. please tell some solutions so I am able to use animated splash screen.


Solution

  • I think you'll find that the problem comes down to two things... 1.Using the command line parameter (-splash), Java expects the image to be a file on the file system, whereas the manifest file expects it to be an embedded resource. 2.Java doesn't seem capable of playing optimised gifs, that is gifs whose frames represent the difference between the last and current frame, instead of a complete image (as far as the splash screen goes).

    I tried using

    enter image description here

    and

    Pony02

    The first image failed, but the second worked, the difference, as near as I can tell, is the first is optimized and the second is not...