How to create a custom loading screen in JavaFX?


Question

I'd like to create a custom loading screen for a JavaFX application. Don't want the user to see the Java coffee cup icon, I want to put my own graphic there!

I've found out how to provide a static image, or even an animated GIF, but I'm more interested in a Flash-like screen where I can specify what the state of the image looks like at certain percentages.

Any ideas?

1
7
6/12/2009 7:59:26 PM

For JavaFX2, you can set a custom preloader. You have complete control over then scene. I haven't used them personally, but this might be what you want. http://docs.oracle.com/javafx/2/deployment/preloaders.htm

3
8/14/2013 6:04:17 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon