8033128: Javadoc change is required for java.awt.Robot(GraphicsDevice screen) constructor
authorserb
Wed, 01 Mar 2017 13:59:07 +0300
changeset 44145 a6c61a817414
parent 44144 b0c839718d10
child 44146 a9850dbd0b18
8033128: Javadoc change is required for java.awt.Robot(GraphicsDevice screen) constructor Reviewed-by: azvegint
jdk/src/java.desktop/share/classes/java/awt/Robot.java
--- a/jdk/src/java.desktop/share/classes/java/awt/Robot.java	Wed Mar 01 15:05:40 2017 +0530
+++ b/jdk/src/java.desktop/share/classes/java/awt/Robot.java	Wed Mar 01 13:59:07 2017 +0300
@@ -98,15 +98,14 @@
 
     /**
      * Creates a Robot for the given screen device. Coordinates passed
-     * to Robot method calls like mouseMove and createScreenCapture will
-     * be interpreted as being in the same coordinate system as the
-     * specified screen. Note that depending on the platform configuration,
-     * multiple screens may either:
+     * to Robot method calls like mouseMove, getPixelColor and
+     * createScreenCapture will be interpreted as being in the same coordinate
+     * system as the specified screen. Note that depending on the platform
+     * configuration, multiple screens may either:
      * <ul>
      * <li>share the same coordinate system to form a combined virtual screen</li>
      * <li>use different coordinate systems to act as independent screens</li>
      * </ul>
-     * This constructor is meant for the latter case.
      * <p>
      * If screen devices are reconfigured such that the coordinate system is
      * affected, the behavior of existing Robot objects is undefined.