--- old/src/java.desktop/windows/native/libawt/windows/awt_Robot.h 2016-11-11 16:56:00.698350400 +0300 +++ new/src/java.desktop/windows/native/libawt/windows/awt_Robot.h 2016-11-11 16:56:00.204322200 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,7 +34,7 @@ class AwtRobot : public AwtObject { public: - AwtRobot( jobject peer ); + AwtRobot( jobject peer, int screen ); virtual ~AwtRobot(); void MouseMove( jint x, jint y); @@ -51,6 +51,8 @@ static AwtRobot * GetRobot( jobject self ); private: + int m_deviceIndex; + void DoKeyEvent( jint jkey, DWORD dwFlags ); static jint WinToJavaPixel(USHORT r, USHORT g, USHORT b); };