-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.1
-
sparc
-
solaris_2.4
OK, here's the problem. I have a dialog that pops up a FileDialog.
FileDialog only takes a Frame as it's parent, not a Dialog (or Window).
So the user can pop up the FileDialog, then dismiss the dialog that
popped it up, and the FileDialog won't dismiss. (This can't happen
only Solaris because the FileDialog appears to be application modal
whereas on Windows 95 it isn't). So as a hack, I tried adding a
FileDailog.hide() method, but it still didn't bring down the FileDialog.
Either make it so that hide works, or even better, allow the FileDialog
constructor to take a dialog as it's parent.
FileDialog only takes a Frame as it's parent, not a Dialog (or Window).
So the user can pop up the FileDialog, then dismiss the dialog that
popped it up, and the FileDialog won't dismiss. (This can't happen
only Solaris because the FileDialog appears to be application modal
whereas on Windows 95 it isn't). So as a hack, I tried adding a
FileDailog.hide() method, but it still didn't bring down the FileDialog.
Either make it so that hide works, or even better, allow the FileDialog
constructor to take a dialog as it's parent.
- duplicates
-
JDK-4057886 FileDialog.hide() works on Solaris but not on Windows NT/95
- Closed