Adding WindowAdapter
Oups.