Does anyone know how to get an JInternalFrame to be modal via JDesktopPane? I
have looked at the jdk docs, and there is a bit of babble about it in
JOptionPane, but no matter what I try I can not get a JInternalFrame to become
modal.
I looked into showing the glass pane, then adding the frame to it, but that
does not work very well either. The frame shows up for a quick second, then
vanishes. Even if that did work, it is quite a pain to show that glass all of
the time. Did they (swing developers) think that no one was ever going to want
a modal internal frame?
I am trying to avoid using external frames so I can better manage the overall
user experience, but it seems there is no easy way to create a modal dialog in
this fashion.
If you or someone you know has had any experience with this problem PLEASE let
me know. I am going quite mad, quite quickly over this apparent lack of feature
in swing.
--jason