< prev index next >

src/java.desktop/macosx/classes/sun/lwawt/macosx/CRobot.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2020, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -25,11 +25,10 @@
 
 package sun.lwawt.macosx;
 
 import java.awt.Point;
 import java.awt.Rectangle;
-import java.awt.Robot;
 import java.awt.peer.RobotPeer;
 
 import sun.awt.CGraphicsDevice;
 
 final class CRobot implements RobotPeer {

@@ -47,11 +46,11 @@
 
     /**
      * Uses the given GraphicsDevice as the coordinate system for subsequent
      * coordinate calls.
      */
-    public CRobot(Robot r, CGraphicsDevice d) {
+    CRobot(CGraphicsDevice d) {
         fDevice = d;
         initRobot();
     }
 
     /**
< prev index next >