java -splash:Hello.png HelloWorld
とするとJVMが立ち上がりきる前にスプラッシュスクリーンが出るようになるらしい。JVMの初期化の時間を待てずに、アプリケーションを複数起動してしまうミスを防げるな。
コマンドラインのオプションが嫌ならば、
Manifest-Version: 1.0
Main-Class: HelloSplash
SplashScreen-Image: MyImage.png
とManifestファイルに書くこともできる。
FROM Core Java Technologies TECHNICAL TIPS