It wasn't exactly happily ever after, but Justin Timberlake and Cameron Diaz made nice at Sunday morning's Los Angeles premiere of Shrek the Third. The event which also drew the film's stars Eddie Murphy, Mike Meyers, Julie Andrews, Rupert Everett and Antonio Banderas (with his wife, Melanie Griffith) marked the former couple's first major public appearance together since breaking up in January. At first, the exes, who arrived at nearly the same time, carefully maintained a distance of several feet as they walked the red carpet. But later on they smiled together for a cast photo and even shared a hug and a kiss. Diaz, who voices the character of Fiona in the Shrek films (Timberlake plays would-be king Arthur), mostly stuck close to costar Meyers, hamming it up and doing a few interviews with him. This is not the first time Diaz, 34, and Timberlake, 26, have seen each other out and about since their split. Early in the year, they both attended Prince's Golden Globes afterparty, where they got into an tiff.