-
Bug
-
Resolution: Duplicate
-
P3
-
7
-
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);
}
}
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);
}
}
- duplicates
-
JDK-6179142 Should consider hierarchy changes for Print and File dialog windows peers
-
- Open
-
- relates to
-
JDK-6488834 REG: An extra icon is created on the taskbar when a native dialog is opened, Win32
-
- Closed
-