-
Bug
-
Resolution: Fixed
-
P4
-
1.1.7, 1.2.0
-
1.1.8
-
generic, sparc
-
solaris_2.5.1, windows_nt
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2023305 | 1.2.2 | Prs Prs | P4 | Resolved | Fixed | 1.2.2 |
Name: inC81039 Date: 10/14/98
Under win32 FileDialog window does not show up if file name is set to not correct one.
However corresponding FileDialog is sucesfully created.
Use following test for reproduce:
--------------------------------
import java.awt.*;
public class Test {
public static void main(String s[]) {
Frame f = new Frame("Test");
f.setSize(new Dimension(400,400));
f.show();
// now try to show file dialog
FileDialog fd = new FileDialog(f, "Save File...", FileDialog.SAVE);
String name="http://www.sun.com/";
fd.setFile(name);
fd.show();
if (fd.getFile() != null) {
System.out.println("Saving: " + fd.getDirectory() + fd.getFile());
}
System.out.println("fd="+fd);
}
} // end Test
----------------------------------
======================================================================
- backported by
-
JDK-2023305 1.1.7: FileDialog does not show up
- Resolved
- duplicates
-
JDK-4081444 FileDialog broken on Win32
- Closed