Jennie, I looked up that song but it doesn't mention sunshine or happiness. The video clip shows him singing to a little girl, but she's not on a swing. It might be another song from that movie.
I searched Danny Kaye Five Pennies and it showed a list of videos from the movie.