How to apply window graphics