Search code examples
splash-screeninstall4j

install4j: splash screen doesn't go away


I have a splash screen for my launcher, but it doesn't go away. It only disappear when I exit the program.

I want it to go away when the program starts, how can I do that?


Solution

  • This can happen if no AWT window is shown. You can call

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

    from your application.