且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

NetBeans的启动画面功能如何工作?

更新时间:2023-01-26 12:08:08

项目属性 - >应用程序 - >启动画面允许您将图像添加到应用程序。此属性在 MANIFEST.MF 中设置一个名为 SplashScreen-Image:的值,例如 SplashScreen-Image:META-INF / GlassFish316x159.jpg 此属性将自动使图像显示为闪屏。它在NetBeans中不起作用,必须在IDE外部运行。

The project properties -> Application -> Splash Screen allows you to add an image to an application. This property sets a value in the MANIFEST.MF called SplashScreen-Image: e.g. SplashScreen-Image: META-INF/GlassFish316x159.jpg This property will automatically cause the image to display as a splash screen. It does not work inside NetBeans, and must be run outside the IDE.

有一个教程启动画面初学者教程详细介绍了如何使用它。本教程是针对NetBeans 6.8完成的,但是可以在7.2.1上使用,这是本文发布时的最新版本。

There is a tutorial Splash Screen Beginner Tutorial that details how to use it more detail. The tutorial was done for NetBeans 6.8, but will work on 7.2.1 which is the latest at the time of this post.