The difference between Japan and China is in natural resources. Japan is completely tied to importing its resources. China does not have this same difficulty.
China's GDP has grown to about half that of the US. In 2006 it was about a quarter of that of the US. It will slow due to several pressures but unless something dramatically changes, China will have the top GDP sooner than we may think.