Hi all
I know that swings are more sophisticated than AWT etc!
But I read somewhere that SWINGS are LIGHTWEIGHT while AWT are HEAVYweight.
Can any one tell me what does it mean?
bye:)
Printable View
Hi all
I know that swings are more sophisticated than AWT etc!
But I read somewhere that SWINGS are LIGHTWEIGHT while AWT are HEAVYweight.
Can any one tell me what does it mean?
bye:)
Heavy weight components are known to the operating system. They consist of a "peer", which is the implementation of the component in the operating system, and a Java object which manages the peer.
Light weight components are drawn entirely within Java; the operating system is not aware of or responsible for their existence.
If you want more clarification go through the following URL:
[url=http://java.sun.com/products/jfc/tsc/articles/mixing/]Mixing heavy and light components[/url]
-------------------
suresh
thanks, ur ans as well as the link is very useful
bye:)