added swt support and sample window