add SwtWindow and handle create and destroy