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
what are the steps required in creating an empty table drop?
What are heavyweight components? What is lightweight component?
What is an on stage swing?
Why does JComponent have add() and remove() methods but Component does not?
How to create a swing gui in java?
How to generate bill in java swing?
How do you swing an applet?
What is the purpose of action interface in swing?
Where is java swing used?
What is an event handler in swing?
Which window contains the swing controls?
What is the use of jcomponent class in swing?
How does accessibility works in swings?
Is swing better than awt?
What is the what is the difference between invokeandwait() and invokelater()? ?