Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4181310

1.1.7: FileDialog does not show up

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1.7, 1.2.0
    • Fix Version/s: 1.1.8
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1.8
    • CPU:
      generic, sparc
    • OS:
      solaris_2.5.1, windows_nt
    • Verification:
      Verified

      Backports

        Description



        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
        ----------------------------------


        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  prssunw Prs Prs (Inactive)
                  Reporter:
                  igor Igor Nekrestyanov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: