AffineTransform not working right. iam not sure what i am missing.

so iam trying to flip the image.

i first set up paint method so i can print my image

public void paint(Graphics g)
{...