PennDraw.java
/**
     * Indicate that all drawing commands for the next frame are complete
     * so it can be drawn
     *
     * @throws RuntimeException is animation mode has not been enabled
     */
Indicate that all drawing commands for the next frame are complete
so it can be drawn

@throws RuntimeException is animation mode has not been enabled
Indicate that all drawing commands for the next frame are complete so it can be drawn @throws RuntimeException is animation mode has not been enabled
public static void advance() {
        if (animationSpeed < 0)
            throw new RuntimeException("You must call PennDraw.enableAnimation() to activate animation mode before calling PennDraw.advance()");
        show(animationSpeed);
    }
public static void advance ( ) { if ( animationSpeed < 0 ) throw new RuntimeException ( "You must call PennDraw.enableAnimation() to activate animation mode before calling PennDraw.advance()" ) ; show ( animationSpeed ) ; }
Indicate that all drawing commands for the next frame are complete
 so it can be drawn
Indicate that all drawing commands for the next frame are complete so it can be drawn