创建启动画面

Cha*_*ndu 2 java swing splash-screen

如何像netbeans或eclipse启动画面一样创建启动画面.请帮帮我

问候,

Chandu

Boz*_*sov 5

或者,您可以添加以下条目:

<SplashScreen-Image>images/splash.png</SplashScreen-Image>
Run Code Online (Sandbox Code Playgroud)

To your MANIFEST.MF. You can have a build tool such as maven add this automatically.

There is also the posibility to simply use a JWindow as a splash screen, but it won't show until the JVM is running. Using the method stacker described(which is the same as the one I point out) you'll show the splash even before the JVM has finished loading, which might be necessary on older hardware.