Getting Started
Download Exbot:
You can either download the .jar
library or the source code from this repo.
Note that you'll need to import
the library com.obrassard.Exbot
if you chose to download the JAR file.
Create an Exbot object:
Get started by creating a new
Exbot instance with a
Exbot bot = new Exbot();
Notice that Java Robot class must handle AWTException
. For that, you need to try/catch
or throw
the exception:
public static void main(String[] args) {
try {
Exbot bot = new Exbot();
} catch (java.awt.AWTException e) {
e.printStackTrace();
}
}
Last updated
Was this helpful?