From 3ec5583267dafe6935861a0edeae43aa87b4847b Mon Sep 17 00:00:00 2001 From: mparvu Date: Thu, 29 Jul 2021 11:13:01 +0300 Subject: [PATCH] Added comment --- .../org/robotframework/swing/keyboard/KeyEventPresser.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/org/robotframework/swing/keyboard/KeyEventPresser.java b/src/main/java/org/robotframework/swing/keyboard/KeyEventPresser.java index 187c7ac8..2610fc43 100644 --- a/src/main/java/org/robotframework/swing/keyboard/KeyEventPresser.java +++ b/src/main/java/org/robotframework/swing/keyboard/KeyEventPresser.java @@ -4,6 +4,13 @@ import java.awt.event.InputEvent; import java.awt.event.KeyEvent; +/** + * This class was created using methods from abbot.tester.Robot. + * Due to a Java 8 update (u301), sun.awt.SunToolkit.InfiniteLoop + * was removed entirely and using abbot's Robot would throw a + * ClassNotFoundException. + */ + public class KeyEventPresser extends Robot { public KeyEventPresser() throws AWTException {