removed obsolete method
initial commit demo applications for window and listbox
moved code to onKeypress handler
added more event handlers
removed obsolete method