简体   繁体   English

install4j Splashscreen超出了应用程序启动的范围

[英]install4j Splashscreen stays beyond application start

Our RCP Application is started and shows a login Dialog but the splashscreen is still there. 我们的RCP应用程序已启动,并显示一个登录对话框,但初始屏幕仍然存在。 Only after you have logged in the splashscreen closes. 只有在登录后,启动画面才会关闭。

How does the install4j Splashscreen determine when it should close itself? install4j Splashscreen如何确定何时应自行关闭?

For an RCP application, install4j cannot detect the appearance of an SWT frame, because it is not loaded by the application class loader. 对于RCP应用程序,install4j无法检测到SWT框架的外观,因为它不是由应用程序类加载器加载的。

In this situation, you have to call 在这种情况下,您必须致电

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

in your own code. 用你自己的代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM