从桌面图标启动时 JNLP 不显示启动屏幕

发布于 2024-08-02 04:19:22 字数 320 浏览 1 评论 0原文

我已经能够创建一个 JNLP 文件,该文件成功设置了启动屏幕和启动屏幕。通过 Web Start 启动的 Java 程序的桌面图标。以下是 JNLP 的相关部分:

现在,要启动该程序,我发现可以单击 JNLP(在这种情况下会显示启动屏幕),或者单击桌面图标(在这种情况下会显示默认的 Java Web Start 启动屏幕)。这是在 Windows XP 和 Windows 上Windows Vista,它是Java 1.5 和Java 1.6。

有没有一种方法可以让我的启动屏幕在从 JNLP 文件而不是 Java 文件启动时显示?

谢谢。

I have been able to create a JNLP file, which successfully sets up a splash screen & a desktop icon for a Java program launched through Web Start. Here's the relevant chunk of the JNLP:

Now, to launch the program, I find I can either click on the JNLP, in which case the splash screen shows, or on the desktop icon, in which case the default Java Web Start splash screen shows instead. This is on Windows XP & Windows Vista, and it's Java 1.5 and Java 1.6.

Is there a way to get my splash screen to show when launching from the JNLP file, instead of the Java one?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

っ〆星空下的拥抱 2024-08-09 04:19:22

更新到 Java 6 的最新小幅升级似乎已经解决了这个问题,至少在 Windows 平台上是这样。所以我现在正在更新 16。我想之前我已经更新到了 9,并且这个问题已经在某个地方得到了修复。

我应该尝试的第一件事是什么?大概!

Updating to the most recent minor upgrade of Java 6 seems to have fixed this, at least on the Windows platforms. So I am now on update 16. I was on 9 before I think, and this has been fixed somewhere along the line.

First thing I should have tried? Probably!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文