posted 19 years ago
Hi All,
It appears that my File Dialog is "getting lost".
when the user clicks SaveAs the file dialog is on screen, but when he refers to a diff aplication (IE eg) and returns, the file dialog is at the back (and he cannot access it).
the user is trying to access it from a DIALOG! so I cannot use this:
Component c = SwingUtilities.getRoot((Component)e.getSource());
JFrame myFrame = (JFrame)c;
because the constructor only takes a frame
FileDialog fd = new FileDialog(frame, "Save As",FileDialog.SAVE);
anyone???
thanks
peter