JOptionPane behind the Window which is set to be always on top



My java application (JFrame) uses a SplashSceen (Window) which is set to be
"Always on Top". If there is some error in supplying command line parameters
to the application, then the application displays an error using JOtionPane.
But the problem is that the error dipslayed gets hide behind the
SplashScreen.
What I have to do diplay a JOptionPane dialog on top of another Window which
is set to be always on top?
If this is impossible please suggest remedy considering this practical
problem.




.