@@ -130,11 +130,11 @@ private void init(GraphicsDevice screen) throws AWTException { checkRobotAllowed(); Toolkit toolkit = Toolkit.getDefaultToolkit(); if (toolkit instanceof ComponentFactory) { - peer = ((ComponentFactory)toolkit).createRobot(this, screen); + peer = ((ComponentFactory)toolkit).createRobot(screen); } initLegalButtonMask(); } @SuppressWarnings("deprecation")