@Override
    public void rotate(double theta) {
        AffineTransform t = getTransform();
        t.rotate(theta);
        setTransform(t);
    }
@Override
    public void rotate(double theta) {
        AffineTransform t = getTransform();
        t.rotate(theta);
        setTransform(t);
    }
@ Override public void rotate ( double theta ) { AffineTransform t = getTransform ( ) ; t . rotate ( theta ) ; setTransform ( t ) ; }
Applies a rotation (anti-clockwise) about {@code (0, 0)}.

@param theta  the rotation angle (in radians).
Applies a rotation ( anti - clockwise ) about { @code ( 0 0 ) } .