All that's left to do is add the Java application entry point. It will call the createWindow() function as soon as the application is run. Type in this function below the final curly bracket of the createWindow() function:
public static void main(String[] args) {
createWindow();
}

