Change format for messages.
Use contentPane for messages.