That's because japan gave in to all US demands then their economy burst and they had the 'lost decade'. If they pushed back against US wishes or didn't give in to US depends, I'm sure the US would have progressed to limiting visas for Japanese students and other things. That's a guarantee.
Of course you "guarantee" a completely unproveable assertion. Actually even during the height of the Japan fear in 1988, a Republican president apologized to Japanese Americans for internment during WWII and actually gave them reparations. Japan was allowed to make major acquisitions like the Rockefeller Center, Pebble Beach Ca., and Columbia Pictures. And Japan was invited to be part of the US led coalition against Saddam Hussein in 1991.
Generally the notion that the US policy towards China would be the same no matter what is convenient for confrontation advocates since it justifies any aggressive action by China against the US no matter what, and undercuts any argument to restore relations. After all, if the US policy is the same no matter what, then there is no basis for trying to improve relations. Then relations go into a tailspin, more anger & fighting, etc. It's a spiraling cycle and a self fulfilling prophecy.
Ironically I see the exact same argument trotted out on the US side of the debate, where US hawks argue "no matter what we do China will be hostile against us, therefore we should do the worst against China."
The reality is that neither country is completely homogeneous, there are debates going on in each country as to how to approach the other one, and relations can be better or worse depending on mutual actions. China has friends in the US just like the US has friends in China, only during this time they are quieter due to the escalating tensions. But if each simply assumes the worst from the outset it is a guarantee of a bad outcome.