Painting window kits

I had taken the windows out of 2002 Coachman and want to use them in my cargo conversion.They are white and i want to paint them black to match my trailer.My question is,has any done this before? If so,how were the results? Advice/comments would be greatly appreciated. Thanks! 
