Why was Japan able to rapidly modernize and avoid European colonization efforts, while the rest of SE Asia seems to have been carved up by the Europeans in pretty short order?

by _This_Is_Stupid
ParallelPain

See our FAQ section on this question with different users touching on different aspects of the question.