Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

About AWT Components  RSS feed

 
nani klce
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
can anybody tell me why the AWT components are called "Heavy Weight Components".
Thanks.
 
Lanny Gilbert
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's the best definition I've run across...

Heavy weight components (AWT) are known to the operating system. They consist of a "peer", which is the implementation of the component in the operating system, and a Java object which manages the peer.

Light weight components (Swing) are drawn entirely within Java; the operating system is not aware of or responsible for their existence.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!