< prev index next >

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

Print this page

        

*** 58,68 **** import java.awt.Panel; import java.awt.Point; import java.awt.PopupMenu; import java.awt.PrintJob; import java.awt.RenderingHints; - import java.awt.Robot; import java.awt.ScrollPane; import java.awt.Scrollbar; import java.awt.SystemTray; import java.awt.Taskbar; import java.awt.TextArea; --- 58,67 ----
*** 551,565 **** targetCreatedPeer(target, peer); return peer; } @Override ! public RobotPeer createRobot(Robot target, GraphicsDevice screen) { ! // (target is unused for now) ! // Robot's don't need to go in the peer map since ! // they're not Component's ! return new WRobotPeer(screen); } public WEmbeddedFramePeer createEmbeddedFrame(WEmbeddedFrame target) { WEmbeddedFramePeer peer = new WEmbeddedFramePeer(target); targetCreatedPeer(target, peer); --- 550,564 ---- targetCreatedPeer(target, peer); return peer; } @Override ! public RobotPeer createRobot(GraphicsDevice screen) throws AWTException { ! if (screen instanceof Win32GraphicsDevice) { ! return new WRobotPeer(); ! } ! return super.createRobot(screen); } public WEmbeddedFramePeer createEmbeddedFrame(WEmbeddedFrame target) { WEmbeddedFramePeer peer = new WEmbeddedFramePeer(target); targetCreatedPeer(target, peer);
< prev index next >