changed windows sample moveTo/resizeTo to setBounds, so it works on a multi-monitor machine.