changeset 16837:4d0e15c0e141

8033128: Javadoc change is required for java.awt.Robot(GraphicsDevice screen) constructor Reviewed-by: azvegint
author serb
date Wed, 01 Mar 2017 13:59:07 +0300
parents 578d409941a5
children 5e43d8456cec
files src/java.desktop/share/classes/java/awt/Robot.java
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/java/awt/Robot.java	Wed Mar 01 15:05:40 2017 +0530
+++ b/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.