Very simple sample from Jcraft's website.