I am having a simple login window
and in the actionPerformed of the Login Button
I have to a lot of initialization for my application.
But i want my Main Frame to be visible as soon as i click Login button
This MainFrame is having a menu bar and different images
Each of the tasks in actionPerformed are as separate threads.
But my MainFrame is shown as complete gray frame...(though all the images are
loaded)
and is completely visible with its components ONLY at the end of ActionPerformed
Can anyOne help me out of this..
I want to display the frame as soon as i click Login button.
Thanks in advance