Throughout our training we are constantly bombarded with emergencies - (engine out, radio failure, etc) and how to deal with them. We're given a problem and we follow procedures to fix and or minimize the issue.
As far as AF447, they were working on the problem, all the way to the ocean. The issue was lack of crew coordination - not knowing what inputs the other pilot was giving the side stick.
There is no "panic" training, just solve the problem training.
I find that this mentality transfers to everyday life.