EA code generation: initial code vs. behavior

All the time the same issue: what window shall I use for typing code in the Enterprise Architect: the input window at the top named “Behavior” or the input window at the bottom named “Initial Code”?? To complete the confusion: the property tab also has been named...