This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes why applet is heavy weight and swing is called light weight? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "why applet is heavy weight and swing is called light weight?" Watch "why applet is heavy weight and swing is called light weight?" New topic
Author

why applet is heavy weight and swing is called light weight?

sanjiv mohanty
Greenhorn

Joined: Sep 05, 2005
Posts: 2
why applet is heavy weight and swing is called light weight?
Sunil Kumar Gupta
Ranch Hand

Joined: Aug 26, 2005
Posts: 824
Awt components are heavy weight and swing components are light weight

Awt components depends on local windowing while swing component does not

that's the reason



Enjoy


Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
sinasi susam
Ranch Hand

Joined: Jul 15, 2005
Posts: 67
But JApplet exteds java.applet.Applet and java.applet.Applet extends java.awt.Panel

?
Sunil Kumar Gupta
Ranch Hand

Joined: Aug 26, 2005
Posts: 824
Sinasi is right...............

Each Project Swing applet or application needs at least one heavyweight container component (a JFrame, JWindow, JApplet, or JDialog).


:S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why applet is heavy weight and swing is called light weight?