corrected Java example on home page plus gen'd all recent changes