< prev index next >

src/java.desktop/windows/classes/sun/awt/windows/WRobotPeer.java

Print this page
rev 17491 : robot unicode keys - pass 2

@@ -61,10 +61,15 @@
     public native void keyPress( int keycode );
     @Override
     public native void keyRelease( int keycode );
 
     @Override
+    public native void keyPressUnicode( int key );
+    @Override
+    public native void keyReleaseUnicode( int key );
+
+    @Override
     public int getRGBPixel(int x, int y) {
          // See 7002846: that's ineffective, but works correctly with non-opaque windows
         return getRGBPixels(new Rectangle(x, y, 1, 1))[0];
     }
 
< prev index next >