in 1944, when japanese loss in the war was apparent, dutch government, the old ruler of indonesia, was negotiating with USA for the situation after the war. they obtained confirmation from general MacArthur of usa that after withdrawal on japanese army from indonesia, dutch shall rule in place of japan. at the potsdam conference held in july 1945, they also decided the situation of vietnam after end of the war. they tacitly agreed british and chinese will temporally occupy vietnam after withdrawal of japan, and then returned to old ruler france in future