A powerful earthquake off the coast of Java last Monday generated a crushing wave that barreled through homes , restaurants and hotels in the Pangandaran area .