Setup and Install
The Java version of Easy Draw is a single file, EasyDraw.java, which can be found and downloaded from GitHub.
Easy Draw File
Once you have the EasyDraw.java file, put it in the same folder as your program (for example, next to Main.java).
Requirements
Java 17 or newer. Check your version with
java -version.A web browser. Easy Draw shows your drawing in your web browser.
Easy Draw only uses the Java standard library, so there is nothing else to install.
Compiling and Running
Compile both files and run your program from the folder they are in:
When your program runs, Easy Draw:
Writes your drawing to an
index.htmlfile in the folder you run your program from.Opens the live drawing in your web browser (http://localhost:8765/).
See the Starter Template to write your first program.
Was this helpful?