If you do not supply an affine transform using the setTransform method, Java uses by default the identity transform, which leaves your drawing unchanged.
setTransform