Searched refs:getPointerInfo (Results 1 - 13 of 13) sorted by relevance

/openjdk9/jdk/test/java/awt/MouseInfo/
H A DGetPointerInfoTest.java27 @summary unit test for getPointerInfo() from MouseInfo class
58 PointerInfo pi = MouseInfo.getPointerInfo();
60 throw new RuntimeException("Test failed. getPointerInfo() returned null value.");
67 throw new RuntimeException("Test failed.getPointerInfo() returned incorrect result.");
H A DPointerInfoCrashTest.java47 // call the getPointerInfo() before graphics devices initialization
48 MouseInfo.getPointerInfo();
H A DMultiscreenPointerInfo.java27 @summary unit test for getPointerInfo() from MouseInfo class
67 PointerInfo pi = MouseInfo.getPointerInfo();
69 throw new RuntimeException("Test failed. getPointerInfo() returned null value.");
77 throw new RuntimeException("Test failed.getPointerInfo() returned incorrect location.");
85 throw new RuntimeException("Test failed.getPointerInfo() returned incorrect device.");
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/
H A DMouseInfo.java74 public static PointerInfo getPointerInfo() throws HeadlessException { method in class:MouseInfo
H A DContainer.java2631 return MouseInfo.getPointerInfo();
H A DComponent.java1379 return MouseInfo.getPointerInfo();
/openjdk9/jdk/test/java/awt/Multiscreen/MultiScreenLocationTest/
H A DMultiScreenLocationTest.java76 Point mouse = MouseInfo.getPointerInfo().getLocation();
/openjdk9/jdk/test/lib/testlibrary/
H A DExtendedRobot.java208 Point p = MouseInfo.getPointerInfo().getLocation();
/openjdk9/jdk/test/javax/swing/JFrame/4962534/
H A Dbug4962534.java122 System.out.println("Mouse lies in " + MouseInfo.getPointerInfo().getLocation());
/openjdk9/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DInfoWindow.java235 return MouseInfo.getPointerInfo().getLocation();
258 Point p = MouseInfo.getPointerInfo().getLocation();
/openjdk9/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/
H A DShapedTranslucentWindowClick.java174 robot.dragAndDrop(MouseInfo.getPointerInfo().getLocation(), new Point(x+5, y));
/openjdk9/jdk/test/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java124 testGC(MouseInfo.getPointerInfo().getLocation());
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/
H A DJLightweightFrame.java512 Point p = MouseInfo.getPointerInfo().getLocation();

Completed in 116 milliseconds