Tinker Bell and the Lost Treasure and Summer Wars were both animated films created in 2009; however, which one had a main character that originated from a play by J.M. Barrie?
Tinker Bell and the Lost Treasure: Tinker Bell and the Lost Treasure is a 2009 computer-animated comedy adventure film and the second installment in the "Disney Fairies" franchise. Tinker Bell and the Lost Treasure:  It is a sequel to the 2008 film, "Tinker Bell", and revolves around Tinker Bell, a fairy character created by J. M. Barrie in his play "Peter Pan, or The Boy Who Wouldn't Grow Up", and featured in subsequent adaptations, especially in Disney's animated works. Summer Wars:  The film tells the story of Kenji Koiso, a timid eleventh-grade math genius who is taken to Ueda by twelfth-grade student Natsuki Shinohara to celebrate her great-grandmother's 90th birthday. Summer Wars:  However, he is falsely implicated in the hacking of a virtual world by a sadistic artificial intelligence named Love Machine. Summer Wars:  Kenji must repair the damage done to it and find a way to stop the rogue computer program from causing any further damage.
i don't know