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

FileDialog appears at wrong location

XMLWordPrintable

    • x86
    • windows_xp

      This is reproducable on Windows with jdk 7.

      A FileDialog having a non-null owner is displayed a bit off from (0,0), where as a FileDialog with null owner is shown at (0,0). With 6.0, a FileDialog created with null/non-null owner appears at (0, 0).

      To reproduce:
      Run the below test. If the FileDialog does not appear at (0,0), bug is reproduced

      import java.awt.FileDialog;
      import java.awt.Frame;

      public class Test {
          public static void main(String[] args) {
              new FileDialog(new Frame()).setVisible(true);
          }
      }

            art Artem Ananiev (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: