-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.1.4, 1.1.8_003, 1.2.2
-
x86, sparc
-
solaris_2.6, solaris_7
Name: diC59631 Date: 11/24/97
import java.awt.*;
public class TestGetLoc {
TestGetLoc() {
Frame win = new Frame("Test Window");
win.setSize(200,100);
win.pack();
win.setVisible(true);
Point loc = win.getLocationOnScreen();
System.out.println("screen location x="+loc.x+" y="+loc.y);
}
public static void main(String[] args) {
new TestGetLoc();
}
}
output:
screen location x=-4 y=-24
(Review ID: 20725)
======================================================================
- duplicates
-
JDK-4204165 Regression test GetLocationOnScreenTest.html Failing
- Closed