Added message to panel class