Splash screen

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Splash screen

paddy
Hi

I noticed that the following plugin is labelled legacy.
https://github.com/griffon-legacy/griffon-splash-javafx-plugin


How do you add a splashscreen to a griffon 2 application ( JavaFX )?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Splash screen

aalmiray
Administrator
Hi,

Yes, that plugin is marked as legacy because it only works with Griffon 1.x.
For Griffon 2.x you have at least 2 options:
 - use the standard Splash screen support available since JDK7
 - create a secondary Stage and show it during Bootstrap/Startup. Hide it before Main at the latest.

Cheers,
Andres