Please also consider the following counter-points:
1. Our nukes are mostly indigenous. China has only helped with civil nuclear power and not military applications. China is also part of the NSG and will supply technology to Pakistan only around those controls.
2. The was of 1962 was over half a century ago. Since then, it is a changed world. Their bilateral trade has grown manifold and rising rapidly. These economic relations will ensure that the chances of another war are minimal.
3. China will surely rise as a superpower, but it does not necessarily follow we can piggyback on to that success. We have to make our own way with progress. Nobody else will do it for us.
4. Higher and deeper cliches aside, all we have is a few JF-17s with Russian engines and cobbled up electronic and weapons delivery systems. There are no J-10s and certainly no exotic machinery from China.
5. One day China will beat USA. But will we be around then if we do not solve our own mounting problems? Kaun jeeta hai teri zulf kay seher honay tak.