A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Swing / AWT / SWT
Difference between AWT and swings
Raj Kumar Bindal
Joined: Apr 15, 2006
Jan 12, 2007 00:58:00
Please tell me the differences between the two and why swings are called as light weight components while AWT is called as heavy weight component.
Joined: Apr 14, 2004
Jan 12, 2007 02:38:00
A lightweight component is one that does not have an associated native screen resource (called a
), a heavywight component is one does have its own natove screen resource. See
for more information.
It is sorta covered in the
JavaRanch Style Guide
subject: Difference between AWT and swings
SWT - JFACE
awt vs swings
Diff between light weight & heavyweight comp.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015