J.M. Barrie (whose full name was Sir James Matthew Barrie) was an English writer in the late 19th, early 20th centuries.