Applying optical coatings or shielding coatings to the vessel of flat panel displays