What is the difference between AWT & Swing?
Answer Posted / patta jagadeeswara rao
AWT:-
1. awt components are heavy weight components.
2. platform dependent (operating system based)
3. fixed source is available.
4. it don't have any prefix letters.
5. performance is poor quality.
6. these components are available at java.awt package
SWING: -
1. swing components are light weight components.
2. swing components are the platform independent.
3. dynamic source is available.
4. it have a prefix letter that is 'j' eg:- jtext, jlabel, etc..
5. the swing components are available at java.swing package.
FOR MORE ANSWERS VISIT : http://www.competitivebooks.com
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How to change button color in java swing?
What is the difference between swing and applet?
Which is better swing or awt?
How to render an html page using only swing.
What is the what is the difference between invokeandwait() and invokelater()? ?
Why are swing components called lightweight components?
What is the function of abstractaction class?
What is actionlistener in java swing?
What is difference between swing and awt?
Why should any swing call back implementation execute quickly?
What is difference between applet and swing?
What are the advantage of swing over awt?
What are the components of java swing?
What is swing control in java?
What is the purpose of action interface in swing?