Answers

Question and Answer:

  Home  Swing AWT

⟩ What are heavyweight and lightweight components?

In Java AWT - Abstract Window Toolkit, GUI components created are OS dependent. When they are created, each component forms a peer component due to which they are called heavyweight components.

Swing components are platform independent. No peer components are formed due to which they are called lightweight components.

 130 views

More Questions for you: