added windowing example source code.