Foster had a melody in mind and wanted to write a tune about a flowing river and family life there. He got stumped, asked his lawyer-brother for help, they found "Sawahnee" river in Florida in an encyclopedia, he changed it to "Swanee River" and bingo!