Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Interactive Splashscreen
Interactive Splashscreen [message #1779148] Wed, 03 January 2018 09:06
Selim Dincer is currently offline Selim DincerFriend
Messages: 12
Registered: November 2017
Junior Member

Looking at the commits of this issue I saw that there have been some efforts to enable splashscreens. I have implemented our version of this splashscreen:

@Component(property = "service.ranking:Integer=1")
public class SplashScreen extends InteractiveStartupService implements StartupProgressTrackerService {
	protected Scene createScene(ApplicationContext applicationContext, Image splashImage) {
		return new Scene(new Pane(new ImageView(splashImage)));

	public void stateReached(ProgressState state) {
		if (state == DefaultProgressState.JAVAFX_INITIALIZED) {

However I've noticed that the UI Thread of the splashscreen seems to be blocked (thus it's not that interactive anymore). For example putting an indeterminate progress bar below the picture results in a progressbar that remains empty. Is there a way to bypass this blocking?

Also my first approach was to try the javafx.preloader property. However the fx workbench bundle had no access to our Preloader class eventhough it was included in exported packages. Changing the osgi.parentClassloader from ext to app did not help either.

So the final question is:
How to do splashscreens properly with efxclipse?



Previous Topic:Create DndTabPane with my own DragFinishedConsumer
Next Topic:What replaces the PreferencesObjectSupplier?
Goto Forum:

Current Time: Sat Mar 24 16:07:33 GMT 2018

Powered by FUDForum. Page generated in 0.01342 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software