Yes, I am creating the JOptionPane with one of the various frames as a parent.
But can you, using the JDesktopPane and JInternalFrames model, have 'free floating' frames - because I don't want to have frames embedded within one outer encompassing frame(ala mdi).
And, yes, most of the time when you click on the parent frame's button on the taskbar the modal comes up on top of parent frame - but I have seen it slip behind the parent in some cases - but moreover I am getting complaints that even when it works correctly( when modal appears on top of the parent frame upon maximization )it is confusing for a user. So, I am looking for a possible work around.
Yes, if you have sample code that would be great - I am not in dire straits with time.