Splash window in Java

I am trying to create a splash screen that displays a gif animation. The thing about my Splash screen I want to actually make it appear after the main() function returns (Main() just creates a login screen. I want my GUI initialization to begin after the user puts in a password). In addition my splash screen should disappear after the completion of certain non-GUI background actions.

So... Can I (or should I) use awt's SplashScreen class in this scenario?

My current implementation manages to display a blank splash screen and hide it in the right time. The problem is that the gif animation is only loaded after the GUI is initialized. I think it is because the EDT is busy with GUI initialization and can't display animation.

I was hoping that maybe SplashScreen class would solve that issue. If anyone has any hints or tips it would be appreciated.

Answer:1

I am using ant to make a build system for our android project which has two build targets, Dev and Release. This involves replacing the default -package-resources target with my own one in my build....

I need to convert some string date to another format string date String current = "Tue Apr 16 10:59:11 EDT 2019"; I want to get result date String in format ISO-8601 in accordance with the pattern - ...

I have created .so file using android NDK. In xxx.java class I added some native methods to call from c/c++ files. these native methods I am calling in my own methods for example like below, static ...

I am using selenium webdriver with Firefox . driver.navigate().back(); I browse through pages and when I navigate back through page , I get following exception.In Browser it says Document expired. ...