Swing components are light-weight?

后端 未结 3 1062
挽巷
挽巷 2020-12-07 02:46

Whenever I read about Swing they say they are light weight components. So I just googled Swing and found that it means Swing does not depend on native peers. Is that why the

3条回答
  •  北海茫月
    2020-12-07 03:13

    Lightweight vs heavyweight is a question of how the UI components are implemented. Heavyweight components wrap operating system objects, lightweight components don't. They are implemented strictly in the JDK.

提交回复
热议问题