They were already painted, but the original paint had been done of the ugly brown cabinet. I didn't prime first, but I should have.
I did a neat thing, but its a lot of work. I removed the doors from the cupboards and the hardware from the doors, and removed the knobs from the doors. then i painted the cupboard one color, the doors another, and the knobs the color of the cupboards. Very nice look, if i say so myself. good luck!