I have heard many foreign people saying Japan is very safe country. No one tries to steal or break the vending machines you can see around every corner (the vending machine on the left sells beer, everyone even a kid can buy one!). So, why are Japanese people such peace loving? What makes them not breaking laws? There have been many answers to the question proposed by anthropologists, I used to think the theory "Japanese society is already filled with abundant goods so they do not need stealing or breaking laws" is fairly precise. But, as most anthropologists state that Japanese people are usually group-oriented, I guess this statement has something to do with this phenomenon.
I remember watching a film assigned in an anthropology class. That was titled as Japan:Taboo of Failure that depicted how Japanese people try to avoid making mistakes at whatever they do. For example, Japanese education system does not allow ad-hoc answers, but always lead students prepare answers beforehand. One scene in the film, which a 3 or 4 years old girl taking entrance exam for an elite kindergarten answers wrongly to the interviewer's question and failed, was impressive even to me.
As living in the group-oriented society, Japanese people are likely to grow up observing how others act and learn proper manners. It is natural for children to learn breaking laws is absolutely bad as society teach them the correct behavior.
Their group-oriented customs, moreover, generate the collective security effect. People abide by laws since they fear of the consequences of their wrongdoing: Those who break laws get punished.
Japanese people certainly live under the pressure of their own society hence that peace is being maintained.