awt:
Contains all of the classes for creating user interfaces and for painting graphics and images. A user interface object such as a button or a scrollbar is called, in AWT terminology, a component. The Component class is the root of all AWT components. See Component for a detailed description of properties that all AWT components share. swing:
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

解决方案 »

  1.   

    轻量级在这里指用纯java实现的。重量级指和其他语言混合编程,这样耗用的资源多
      

  2.   

    swing算是对awt的继承
    不过用的时候最好一起引入
    还有swing的都是JBUTTON带个J
    awt没有,
    对了对于JDK1。0以前使用awt的
    以后就有了swing
    现在都是二个一起引入。
      

  3.   

    现在的界面基本都用swing写了。awt还有一些其他用途,所以还没有被取代。