< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 2019, 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 --- 1,7 ---- /* ! * 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,35 **** 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 { --- 25,34 ----
*** 47,57 **** /** * Uses the given GraphicsDevice as the coordinate system for subsequent * coordinate calls. */ ! public CRobot(Robot r, CGraphicsDevice d) { fDevice = d; initRobot(); } /** --- 46,56 ---- /** * Uses the given GraphicsDevice as the coordinate system for subsequent * coordinate calls. */ ! CRobot(CGraphicsDevice d) { fDevice = d; initRobot(); } /**
< prev index next >