Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8033128

Javadoc change is required for java.awt.Robot(GraphicsDevice screen) constructor

    Details

    • Subcomponent:
    • Resolved In Build:
      b161

      Backports

        Description

        Due to coordinate calculation changes for multiscreen configuration, the following text should be used with the constructor:
             * Creates a Robot for the given screen device. Coordinates passed
             * 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>
             * <p>
             * If screen devices are reconfigured such that the coordinate system is
             * affected, the behavior of existing Robot objects is undefined.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  serb Sergey Bylokhov
                  Reporter:
                  bagiras Oleg Pekhovskiy (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: