Much of the Swing API is generally a complementary extension of the AWT rather than a direct replacement.
Swing API的大部分是AWT的补充扩展而不是直接的代替。