I have a JDialog on the screen and the user can Save the info in it.
the thing is that the FileDialog recieves a JFrame and as a result, when the user switch to a diff application (say IE) and retun to the application - he can't see the FileDialog, or in other workds, the application freeze.
FileDialog fd = new FileDialog(frame, "Save As",FileDialog.SAVE);
I tried Component c = SwingUtilities.getRoot((Component)e.getSource()); JFrame subframe = (JFrame)c;
FileDialog fd = new FileDialog(subframe , "Save As",FileDialog.SAVE);
but it doesn't work.
anyidea - I need a JDialog but the FileDialog recieves only frames ?!!?!?