src/java.desktop/unix/classes/sun/awt/X11/XRobotPeer.java

Print this page

        

*** 105,122 **** getRGBPixelsImpl(xgc, bounds.x, bounds.y, bounds.width, bounds.height, pixelArray, isGtkSupported); return pixelArray; } ! private static native synchronized void setup(int numberOfButtons, int[] buttonDownMasks); ! private static native synchronized void mouseMoveImpl(X11GraphicsConfig xgc, int x, int y); ! private static native synchronized void mousePressImpl(int buttons); ! private static native synchronized void mouseReleaseImpl(int buttons); ! private static native synchronized void mouseWheelImpl(int wheelAmt); ! private static native synchronized void keyPressImpl(int keycode); ! private static native synchronized void keyReleaseImpl(int keycode); ! private static native synchronized void getRGBPixelsImpl(X11GraphicsConfig xgc, int x, int y, int width, int height, int pixelArray[], boolean isGtkSupported); } --- 105,122 ---- getRGBPixelsImpl(xgc, bounds.x, bounds.y, bounds.width, bounds.height, pixelArray, isGtkSupported); return pixelArray; } ! private static synchronized native void setup(int numberOfButtons, int[] buttonDownMasks); ! private static synchronized native void mouseMoveImpl(X11GraphicsConfig xgc, int x, int y); ! private static synchronized native void mousePressImpl(int buttons); ! private static synchronized native void mouseReleaseImpl(int buttons); ! private static synchronized native void mouseWheelImpl(int wheelAmt); ! private static synchronized native void keyPressImpl(int keycode); ! private static synchronized native void keyReleaseImpl(int keycode); ! private static synchronized native void getRGBPixelsImpl(X11GraphicsConfig xgc, int x, int y, int width, int height, int pixelArray[], boolean isGtkSupported); }