Reputation: 2091
i used splash screen (indicated inside manifest file) to show startup progress of my java (swing) application, but when the splash screen is displayed i want also to add task bar icon, because if the splash screen lost focus it become invisible and it's impossible to show it again until the first window is displayed, so with task bar icon it will be possible to show it again to see current loading progress.
is it possible to show taskbar icon while splashScreen is visible before jvm starts or while program is loading and splashscreen is visible ? (like when eclipse starts it displays splash screen with task bar while loading application)
Upvotes: 1
Views: 339
Reputation: 1568
Unfortunately that is not possible using the default splash screen implementation.
You could however make you own splash screen using a JWindow and load the main application using a separate thread. There are a couple of examples available using google search like this and this.
Upvotes: 0