开发者

What's the best way to display a title screen for a Java Swing application

开发者 https://www.devze.com 2023-01-22 21:46 出处:网络
I have a swing app and I want there to be a title screen that lasts for a few seconds and then transitions to the program. What\'s the best way to do this? I was thinking a 开发者_JAVA技巧layered pane

I have a swing app and I want there to be a title screen that lasts for a few seconds and then transitions to the program. What's the best way to do this? I was thinking a 开发者_JAVA技巧layered pane with a timer, but maybe there's something better?


Besides the JWS based splash, see also the SplashScreen class. The AWT based class provides more control over the splash than JWS, but the JWS based splash worked for versions before 1.6.


You might look into the splash screen feature of Java Web Start.

0

精彩评论

暂无评论...
验证码 换一张
取 消