This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Difference between AWT and swings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Difference between AWT and swings" Watch "Difference between AWT and swings" New topic
Author

Difference between AWT and swings

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
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.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

A lightweight component is one that does not have an associated native screen resource (called a peer), a heavywight component is one does have its own natove screen resource. See this for more information.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between AWT and swings
 
Similar Threads
SWT - JFACE
Diff between light weight & heavyweight comp.
awt vs swings
hi
Interview questions