• Post Reply Bookmark Topic Watch Topic
  • New Topic

swing and Awt  RSS feed

 
Maha Hassan
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between swings and AWT ....cuz i noticed the same stuff are in both groups ...anyhelp !!
 
Stephen Boston
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AWT is composed of Heavy weight componets while Swing is Light weight.
A heavyweight component is one that is associated with its own native screen resource (commonly known as a peer). A lightweight component is one that "borrows" the screen resource of an ancestor (which means it has no native resource of its own -- so it's "lighter").
Source:Mixing Heavy and light components
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!