OpenJDK / amber / amber
changeset 44145:a6c61a817414
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 | b0c839718d10 |
children | a9850dbd0b18 |
files | jdk/src/java.desktop/share/classes/java/awt/Robot.java |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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.