Search code examples
javaeclipse-rcpsplash-screeninstall4j

install4j Splashscreen stays beyond application start


Our RCP Application is started and shows a login Dialog but the splashscreen is still there. Only after you have logged in the splashscreen closes.

How does the install4j Splashscreen determine when it should close itself?


Solution

  • For an RCP application, install4j cannot detect the appearance of an SWT frame, because it is not loaded by the application class loader.

    In this situation, you have to call

    com.install4j.api.launcher.SplashScreen.hide()
    

    in your own code.