JavaFX – Splash Screen
July 14, 2009 6 Comments
I must have done this post a long time back.. Hmm.. Better late than never.. In all my post I haven’t used an important feature – Splash Screen. In real world applications users may not be interested in the technology, they would like to use the application. So we must show splash-screen which is related to the application.
JavaFX deployment script provides arguments for specifying alternate image to be shown instead of default java logo. We can pass arguments loading_image_url, loading_image_width and loading_image_height to specify the image-url, width and height as shown below.
|
Now JavaFX Zembly Widget uses custom splash screen. Click on below image to load the applet.
Custom Splash Screen sample demonstrates this feature. Overall experience may not be as good on Mac platform due to older JRE version. Try it out and let me know feedback
Update: Post received two dzone entries!
Thanks a lot for your encouragement and support 




To the existing html page i added three lines of code:
loading_image_url: "Url to image"
loading_image_width: 500,
loading_image_height: 500
But the applet is itself not loading. On commenting the changes made the applet loads.
@Mohamed Sanaulla I think you are missing "," towards end of loading_image_url: "Url to image".
Was this new recently? I don’t recall it being there in the 1.0 release.
@Steven Herod Yes, JavaFX 1.2 allows to customize these applet parameters ( http://java.sun.com/developer/technicalArticles/javase/newapplets/ )
Pingback: Java Download Service Listener « Rakesh Menon
Pingback: JavaFX – Performance Optimization « Java, JavaFX and beyond…