2

当用户从网页加载 java web start 应用程序时,是否可以显示自定义加载消息?也许是进度条或类似的东西。第一次下载 jar 时,连接速度较慢的用户看到“Java Loading...”的时间太长了。

4

1 回答 1

2

if you look here(or see below), you can add your own splash screen, it looks like just an image in this case. Also there are two issues the download time and the application startup time. In java6 you can add an actual splash screen(component) and show progress bar etc. But this would be for application startupup time and not download time. If you look here, you can customize some text on the download screen. At some point the user is going to have to take the time to download the files regardless of the connection speed, but once they have done it once, if you settings are correct, the files should be cached locally and it should start much faster the next time.

--FROM PAGE How can I provide my own splash screen?

Java Web Start needs to put up the initial splash screen while Java is loading. For subsequent access, you can specify an image file to use for the splash screen in the JNLP file with the tag

where mysplash.jpg is the image file for your splash screen. The first time your application runs, it will use the standard splash screen. After that, it will use the image you provide.

于 2009-10-29T15:53:55.090 回答