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