I did that once. As far as materials I used, I don't remember. But I think the key to a "factory" look, painted cabinet is in the preparation. I completely stripped all the varnish off of my cabinets. Raised panel, so it was quite a job! Stripper and green scotch brites. I did spray my cabinets. They looked like they were bought that way. It was a project that I didn't want to do, wife's idea, but when all done, I was real happy with the new look. Good Luck