Installation and Setup

In order to install javaDraw, you must have the Java Runtime Environment (>=1.8) installed.

Installation

To install javaDraw, you must download the JAR file from the latest release on GitHub:

You will need to place this JAR file into your project via whatever means are provided to you by your workspace environment. There are a couple of examples here, but some cases may vary.

Replit

Coding Rooms

More Coming Soon! (VSCode, IntelliJ, Eclipse, etc)

Testing Your Installation

You can verify that you have installed javaDraw to your environment by creating and running this test program:

import javadraw.*;

public class TestProgram extends Window {
    
    public static void main(String[] args) {
        Window.open();
    }
    
    public void start() {
        print("Hello, javaDraw!");
    }
}

Last updated