Forums Register Login

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

+Pie Number of slices to send: Send
why applet is heavy weight and swing is called light weight?
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
But JApplet exteds java.applet.Applet and java.applet.Applet extends java.awt.Panel

?
+Pie Number of slices to send: Send
Sinasi is right...............

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


:S
You can't expect to wield supreme executive power just because
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2180 times.
Similar Threads
Difference between AWT and swings
Why threads are light weight
Swing an AWT
Light and heavy weight
LightWightComponents
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:34:37.