public void cursorLeft(double units) {
        this.cursor = this.cursor - units;
    }
    
    /**
     * Moves the cursor right by the specified number of Java 2D units.
     * 
     * @param units  the units.
     */
    public void cursorRight(double units) {
        this.cursor = this.cursor + units;