It's not a secret anymore!
The moose likes Swing / AWT / SWT and the fly likes About AWT Components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "About AWT Components" Watch "About AWT Components" New topic

About AWT Components

nani klce

Joined: Jul 31, 2006
Posts: 3
can anybody tell me why the AWT components are called "Heavy Weight Components".
Lanny Gilbert
Ranch Hand

Joined: Jun 11, 2002
Posts: 104
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.
I agree. Here's the link:
subject: About AWT Components
It's not a secret anymore!