Make sure you use a paint that is is specifically designed for glass. Otherwise, the paint will chip off rather quickly. Also, most paints that are used on glass need to be cured by baking them in an oven—use the temperature and and curing time indicated by the paint manufacturer.