Was the F-22 in Transformers actually painted?

Im watching Transformers 2 again and in some shots it looks like "Starscream" was done via an actual Raptor specially painted for the movie. I cant find any info to support or deny this. I am just curious if the USAF would actually let one of its very expensive 5th gen fighters be painted for a movie! Personally, I think that the Raptor that does the airshow demos should be specially painted (how cool would it be to see "starscream" at an airshow?).