Creating a message that fades away

Sometimes, we want a message to display just for a certain time, and then fade away and disappear.