"Broken" is a fairly general word - it could mean anything from the frame being jammed, through to the glass being entirely gone - and you should be aware that it refers to the window as a whole.
"Shattered" is far more specific - it means that there is extensive damage to the glass itself, though not necessarily a hole. (Think of a car windscreen, or other safety glass, which remains in one piece despite being covered in cracks.)
So, in this case, either term would be fairly equally appropriate - "broken" might be better for a formal context, while "shattered" better for something like a new article, where a little sensationalism is acceptable.