Hello I am writing a GUI application on Java 1.6 with Swing.
I have a pop up screen that should display a gif animation while my Swing gui is loading and also a litt
Maybe you are trying to make an animation that is to be played just at the start of your application, without interfering the upcoming events or components. So you might want to give a try to splash screens. Read about it from here: http://docs.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html
In the link above, it demonstrates the usage of a class named SplashScreen which is just derived from Frame class. So the mechanism is like that: you display a separate frame (splash screen, your animations go here) and after some time your main application is launched.