Samurai, bushido, zen, tea ceremonies, origami.
It's rather complicated, and paradoxal.
At the beginning they were this proud warrior class, ready to slash you down for looking at them.
Over hundreds of years of peace, they were the ones who brought forth the techniques of bonsai cutting and japanese gardening, the very things alot of people consider japanese.
In zen buddhism, there's alot of examples of 'proper behaviour' when referring to samurai.
One thing is about how focused you should be on the task at hand.
When you sit, sit, when you walk, walk, but never stumble.
A good samurai should be able to complete a last swing of his blade even if his own head is severed, that's the kind of decisiveness one should always have.
It's part of the bushido, which is heavily based on zen buddhism.